tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
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_
void add_str_int(const char *str, int number)
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
bool DeSerialize(TFile *fp) override
bool Serialize(TFile *fp) const override
STRING spec() const override
const STRING & name() const
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
~Convolve() override=default
DLLSYM void tprintf(const char *format,...)
Convolve(const STRING &name, int ni, int half_x, int half_y)