21 #ifndef TESSERACT_LSTM_CONVOLVE_H_ 22 #define TESSERACT_LSTM_CONVOLVE_H_ 24 #include "genericvector.h" 73 #endif // TESSERACT_LSTM_SUBSAMPLE_H_ void add_str_int(const char *str, int number)
Definition: strngs.cpp:379
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
Definition: convolve.cpp:84
STRING spec() const override
Definition: convolve.h:40
Definition: networkscratch.h:36
Definition: convolve.h:33
Definition: serialis.h:77
Definition: baseapi.cpp:94
int32_t half_y_
Definition: convolve.h:67
const STRING & name() const
Definition: network.h:138
bool Serialize(TFile *fp) const override
Definition: convolve.cpp:34
Definition: weightmatrix.h:33
bool DeSerialize(TFile *fp) override
Definition: convolve.cpp:41
Definition: network.h:105
virtual ~Convolve()=default
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
Definition: convolve.cpp:50
Convolve(const STRING &name, int ni, int half_x, int half_y)
Definition: convolve.cpp:28
Definition: networkio.h:39
int32_t half_x_
Definition: convolve.h:66