19 #ifndef TESSERACT_LSTM_MAXPOOL_H_ 20 #define TESSERACT_LSTM_MAXPOOL_H_ 69 #endif // TESSERACT_LSTM_MAXPOOL_H_
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
Maxpool(const STRING &name, int ni, int x_scale, int y_scale)
STRING spec() const override
const STRING & name() const
void add_str_int(const char *str, int number)
virtual ~Maxpool()=default
bool DeSerialize(TFile *fp) override
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override