Package topo :: Package base :: Module functionfamilies :: Class OutputFn
[hide private]
[frames] | no frames]

Class OutputFn

source code

                             object --+    
                                      |    
parameterizedobject.ParameterizedObject --+
                                          |
                                         OutputFn
Known Subclasses:
IdentityOF, PipelineOF, outputfns.basic.OutputFnWithState, outputfns.basic.BinaryThreshold, outputfns.basic.DivisiveNormalizeL1, outputfns.basic.DivisiveNormalizeL2, outputfns.basic.DivisiveNormalizeLinf, outputfns.basic.DivisiveNormalizeLp, outputfns.basic.GeneralizedLogistic, outputfns.basic.HalfRectify, outputfns.basic.HalfRectifyAndSquare, outputfns.basic.KernelMax, outputfns.basic.NakaRushton, outputfns.basic.PatternCombine, outputfns.basic.PiecewiseLinear, outputfns.basic.PoissonSample, outputfns.basic.Sigmoid, outputfns.basic.Square

Function object to modify a matrix in place, e.g. for normalization.

Used for transforming an array of intermediate results into a final version, by cropping it, normalizing it, squaring it, etc.

Objects in this class must support being called as a function with one matrix argument, and are expected to change that matrix in place.



Nested Classes [hide private]

Inherited from parameterizedobject.ParameterizedObject: __metaclass__

Instance Methods [hide private]
 
__add__(self, of) source code
 
__call__(self, x) source code

Inherited from parameterizedobject.ParameterizedObject: __getstate__, __init__, __repr__, __setstate__, __str__, as_uninitialized, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, verbose, warning

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from parameterizedobject.ParameterizedObject: params, print_param_defaults

Class Variables [hide private]
  __abstract = True
bool(x) -> bool
  norm_value = <topo.base.parameterizedobject.Parameter object a...

Inherited from parameterizedobject.ParameterizedObject: name, print_level

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__abstract

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

Value:
True

norm_value

Value:
Parameter(default= None)