added workdir parameter
This commit is contained in:
@@ -4,8 +4,8 @@ from cd_train import cd_jens
|
||||
from stack import Stack, StackType
|
||||
|
||||
class StackDeep(Stack):
|
||||
def __init__(self, name: str):
|
||||
Stack.__init__(self, StackType.Deep, name)
|
||||
def __init__(self, name: str, work_dir: str = '.'):
|
||||
Stack.__init__(self, StackType.Deep, name, work_dir)
|
||||
|
||||
def batch_from(self, batch: np.ndarray, from_layer_id: int = 0):
|
||||
_batch = np.matrix.copy(batch)
|
||||
|
||||
Reference in New Issue
Block a user