-
3.41.0
|
Functor for the identity projector. More...
Public Member Functions | |
def | __init__ (self, shape) |
Public Member Functions inherited from pyfaust.proj.proj_gen | |
def | __call__ (self, M) |
Public Attributes | |
constraint | |
Public Attributes inherited from pyfaust.proj.proj_gen | |
shape | |
Functor for the identity projector.
This projector simply returns the same array as the one passed as argument.
It's not useless for example in PALM4MSA (pyfaust.fact.palm4msa, pyfaust.fact.hierarchical) it might serve to avoid any constraint on a factor.
Examples
def pyfaust.proj.proj_id.__init__ | ( | self, | |
shape | |||
) |
shape | (tuple(int,int)) the size of the input matrix. |
Reimplemented from pyfaust.proj.proj_gen.
pyfaust.proj.proj_id.constraint |