a clas for a layer decoder More...
#include <ModelNeuron/LayerDecoder.H>
Public Member Functions | |
LayerDecoder () | |
constructor | |
LayerDecoder (const NeuralDecoder &nd, uint w, uint h) | |
constructor | |
LayerDecoder (const NeuralDecoder &nd, const Dims &dims) | |
constructor | |
~LayerDecoder () | |
destructor | |
void | push (const Image< double > &input) |
add some data to the decoder | |
Image< double > | getOutput () const |
get the latest (and possibly time delayed) output of the decoder | |
void | setDecoder (const NeuralDecoder &nd, const uint w, const uint h) |
void | setDecoder (const NeuralDecoder &nd, const Dims dims) |
set the decoder for the layer | |
bool | initialized () const |
are we initialized? | |
void | reset () |
a clas for a layer decoder
Definition at line 50 of file LayerDecoder.H.
LayerDecoder::LayerDecoder | ( | ) |
LayerDecoder::LayerDecoder | ( | const NeuralDecoder & | nd, | |
uint | w, | |||
uint | h | |||
) |
constructor
Definition at line 45 of file LayerDecoder.C.
LayerDecoder::LayerDecoder | ( | const NeuralDecoder & | nd, | |
const Dims & | dims | |||
) |
constructor
Definition at line 49 of file LayerDecoder.C.
LayerDecoder::~LayerDecoder | ( | ) |
destructor
Definition at line 53 of file LayerDecoder.C.
Image< double > LayerDecoder::getOutput | ( | ) | const |
get the latest (and possibly time delayed) output of the decoder
Definition at line 65 of file LayerDecoder.C.
References Image< T >::beginw(), initialized(), and NO_INIT.
bool LayerDecoder::initialized | ( | ) | const |
void LayerDecoder::push | ( | const Image< double > & | input | ) |
add some data to the decoder
Definition at line 56 of file LayerDecoder.C.
References Image< T >::begin().
void LayerDecoder::setDecoder | ( | const NeuralDecoder & | nd, | |
const Dims | dims | |||
) |
set the decoder for the layer
Definition at line 93 of file LayerDecoder.C.