libeblearn
ebl::back_module< T, Tstate > Class Template Reference
Inheritance diagram for ebl::back_module< T, Tstate >:
ebl::module_1_1< T, Tstate > ebl::module

List of all members.

Public Member Functions

 back_module (const char *name="back")
 Constructor.
virtual ~back_module ()
 Destructor.
virtual void fprop (Tstate &in, Tstate &out)
 forward propagation from in to out
virtual bool resize_output (Tstate &in, Tstate &out)
virtual std::string describe ()
 Returns a string describing this module and its parameters.
virtual fidxdim bprop_size (const fidxdim &o_size)
void bb (std::vector< bbox * > &boxes)
 Apply boxes.

Protected Attributes

idx< T > * s0
idx< T > * s1
idx< T > * s2
idxdim pixel_size

template<typename T, class Tstate = bbstate_idx<T>>
class ebl::back_module< T, Tstate >


Member Function Documentation

template<typename T , class Tstate >
fidxdim ebl::back_module< T, Tstate >::bprop_size ( const fidxdim &  o_size) [virtual]

Return dimensions compatible with this module given output dimensions. See module_1_1_gen's documentation for more details. This module doesn't actually change the size, but we use it to know the corresponding size of 1 output pixel at this point.

Reimplemented from ebl::module_1_1< T, Tstate >.

template<typename T , class Tstate >
bool ebl::back_module< T, Tstate >::resize_output ( Tstate &  in,
Tstate &  out 
) [virtual]

resize the output based on input dimensions This returns true if output was resized/reallocated, false otherwise.


The documentation for this class was generated from the following files: