20 #ifndef TESSERACT_LSTM_CONVOLVE_H_ 21 #define TESSERACT_LSTM_CONVOLVE_H_ 64 void DebugWeights()
override {
65 tprintf(
"Must override Network::DebugWeights for type %d\n",
type_);
76 #endif // TESSERACT_LSTM_SUBSAMPLE_H_ DLLSYM void tprintf(const char *format,...)
const STRING & name() const
STRING spec() const override
~Convolve() override=default
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
bool Serialize(TFile *fp) const override
bool DeSerialize(TFile *fp) override
void add_str_int(const char *str, int number)
Convolve(const STRING &name, int ni, int half_x, int half_y)
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override