|
|
|
train(self,
data_iterables,
checkpoints)
Train all trainable nodes in the flow. |
|
|
Inherited from unreachable.newobject :
__long__ ,
__native__ ,
__nonzero__ ,
__unicode__ ,
next
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
|
|
__call__(self,
iterable,
nodenr=None)
Calling an instance is equivalent to call its 'execute' method. |
|
|
|
|
|
|
|
|
|
|
|
__init__(self,
flow,
crash_recovery=False,
verbose=False)
Keyword arguments: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_train_node(self,
data_iterable,
nodenr)
Train a single node in the flow. |
|
|
|
append(flow,
node)
append node to flow end |
|
|
|
copy(self,
protocol=None)
Return a deep copy of the flow. |
|
|
|
execute(self,
iterable,
nodenr=None)
Process the data through all nodes in the flow. |
|
|
|
extend(flow,
iterable)
extend flow by appending
elements from the iterable |
|
|
|
insert(flow,
index,
node)
insert node before index |
|
|
|
inverse(self,
iterable)
Process the data through all nodes in the flow backwards
(starting from the last node up to the first node) by calling the
inverse function of each node. Of course, all nodes in the
flow must be invertible. |
|
|
node
|
pop(flow,
index=...)
remove and return node at index
(default last) |
|
|
|
save(self,
filename,
protocol=-1)
Save a pickled serialization of the flow to 'filename'.
If 'filename' is None, return a string. |
|
|
|
|