Copy delayed version of the input signal on the space dimensions.
It is not always possible to invert this transformation (the
transformation is not surjective. However, the pseudo_inverse
method does the correct thing when it is indeed possible.
|
__init__(self,
time_frames,
gap=1,
input_dim=None,
dtype=None)
Input arguments:
time_frames -- Number of delayed copies
gap -- Time delay between the copies |
|
|
|
|
|
|
|
|
|
|
|
execute(self,
x)
Process the data contained in x . |
|
|
|
pseudo_inverse(self,
y)
This function returns a pseudo-inverse of the execute frame.
y == execute(x) only if y belongs to the domain of execute and
has been computed with a sufficently large x.
If gap > 1 some of the last rows will be filled with zeros. |
|
|
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,
x,
*args,
**kwargs)
Calling an instance of Node is equivalent to calling
its execute method. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_refcast(self,
x)
Helper function to cast arrays to the internal dtype. |
|
|
|
|
|
|
|
|
|
copy(self,
protocol=None)
Return a deep copy of the node. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inverse(self,
y,
*args,
**kwargs)
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 .
If filename is None, return a string. |
|
|
|
set_dtype(self,
t)
Set internal structures' dtype. |
|
|
|
|
|
|
|
|
|
train(self,
x,
*args,
**kwargs)
Update the internal structures according to the input data x . |
|
|