|
__init__(self,
x_long_in_channels,
y_long_in_channels,
diag_field_channels,
in_channel_dim=1)
Calculate the connections. |
|
|
Inherited from ChannelSwitchboard :
get_out_channel_node
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|
|
|
|
|
|
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,
*args,
**kargs)
Calling an instance of 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 serialization of the node to 'filename'. |
|
|
|
set_dtype(self,
t)
Set internal structures' dtype. |
|
|
|
|
|
|
|
|
|
train(self,
x,
*args,
**kwargs)
Update the internal structures according to the input data 'x'. |
|
|