30 half_x_(half_x), half_y_(half_y) {
58 int t = dest_index.
t();
78 }
while (dest_index.Increment());
95 int t = src_index.
t();
105 delta_sum->
f(y_index.
t()));
110 }
while (src_index.Increment());
111 back_deltas->
CopyAll(*delta_sum);
bool DeSerialize(TFile *fp) override
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
Convolve(const STRING &name, int ni, int half_x, int half_y)
void AddTimeStepPart(int t, int offset, int num_features, float *inout) const
bool AddOffset(int offset, FlexDimensions dimension)
bool DeSerialize(char *data, size_t count=1)
bool Serialize(TFile *fp) const override
void ResizeFloat(const NetworkIO &src, int num_features, NetworkScratch *scratch)
void Resize(const NetworkIO &src, int num_features)
virtual bool Serialize(TFile *fp) const
void DisplayForward(const NetworkIO &matrix)
bool Serialize(const char *data, size_t count=1)
const StrideMap & stride_map() const
void CopyAll(const NetworkIO &src)
void CopyTimeStepGeneral(int dest_t, int dest_offset, int num_features, const NetworkIO &src, int src_t, int src_offset)
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
void Randomize(int t, int offset, int num_features, TRand *randomizer)