A new output is available from the AttentionGate. More...
#include <Neuro/NeuroSimEvents.H>
Public Member Functions | |
SimEventAttentionGateOutput (SimModule *src, const Image< float > &agmout, const Image< float > &lamout, const Image< float > &camout, const unsigned int lamframe) | |
Constuctor. | |
virtual | ~SimEventAttentionGateOutput () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
const Image< float > | ag (const float factor=1.0F) const |
Attention gate map. | |
const Image< float > | lam (const float factor=1.0F) const |
What finally got through in the last attention map. | |
const Image< float > | cam (const float factor=1.0F) const |
candidate for what will get through in the current attention map | |
const unsigned int | lamFrame () const |
What was the frame number on our last attention gate;. |
A new output is available from the AttentionGate.
Definition at line 319 of file NeuroSimEvents.H.
SimEventAttentionGateOutput::SimEventAttentionGateOutput | ( | SimModule * | src, | |
const Image< float > & | agmout, | |||
const Image< float > & | lamout, | |||
const Image< float > & | camout, | |||
const unsigned int | lamframe | |||
) |
Constuctor.
Definition at line 323 of file NeuroSimEvents.C.
SimEventAttentionGateOutput::~SimEventAttentionGateOutput | ( | ) | [virtual] |
Destructor.
Definition at line 332 of file NeuroSimEvents.C.
const Image< float > SimEventAttentionGateOutput::ag | ( | const float | factor = 1.0F |
) | const |
const Image< float > SimEventAttentionGateOutput::cam | ( | const float | factor = 1.0F |
) | const |
candidate for what will get through in the current attention map
Definition at line 360 of file NeuroSimEvents.C.
References inplaceNormalize().
const Image< float > SimEventAttentionGateOutput::lam | ( | const float | factor = 1.0F |
) | const |
What finally got through in the last attention map.
Definition at line 351 of file NeuroSimEvents.C.
References inplaceNormalize().
const unsigned int SimEventAttentionGateOutput::lamFrame | ( | ) | const |
What was the frame number on our last attention gate;.
Definition at line 368 of file NeuroSimEvents.C.
std::string SimEventAttentionGateOutput::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimEvent.
Definition at line 335 of file NeuroSimEvents.C.
References Image< T >::getHeight(), Image< T >::getWidth(), and sformat().