|
libeblearn
|
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 |
| 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 >.
| 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.