|
|
__init__(self,
noise_func=<built-in method normal of mtrand.RandomState object at 0xb793...,
noise_args=(0, 1),
noise_type='additive',
input_dim=None,
dtype=None)
Add noise to input signals. |
|
|
|
|
|
|
|
|
|
|
is_invertible(self)
Return True if the node can be inverted, False otherwise. |
|
|
|
|
is_trainable(self)
Return True if the node can be trained, False otherwise. |
|
|
|
|
__call__(self,
x)
Calling an instance if Node is equivalent to call
its 'execute' method. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_refcast(self,
x)
Helper function to cast arrays to the internal dtype. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
copy(self,
protocol=-1)
Return a deep copy of the node. |
|
|
|
|
execute(self,
x,
*args,
**kargs)
Process the data contained in 'x'. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inverse(self,
y,
*args,
**kargs)
Invert 'y'. |
|
|
|
|
is_training(self)
Return True if the node is in the training phase,
False otherwise. |
|
|
|
|
save(self,
filename,
protocol=-1)
Save a pickled representation of the node to 'filename'. |
|
|
|
|
set_dtype(self,
t)
Set Node's internal structures dtype. |
|
|
|
|
|
|
|
|
|
|
|
|
|
train(self,
x,
*args,
**kwargs)
Update the internal structures according to the input data 'x'. |
|
|