tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
19 #ifndef TESSERACT_LSTM_RECONFIG_H_
20 #define TESSERACT_LSTM_RECONFIG_H_
74 void DebugWeights()
override {
75 tprintf(
"Must override Network::DebugWeights for type %d\n",
type_);
88 #endif // TESSERACT_LSTM_SUBSAMPLE_H_
STRING spec() const override
void add_str_int(const char *str, int number)
bool DeSerialize(TFile *fp) override
Reconfig(const STRING &name, int ni, int x_scale, int y_scale)
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
StaticShape OutputShape(const StaticShape &input_shape) const override
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
bool Serialize(TFile *fp) const override
const STRING & name() const
~Reconfig() override=default
DLLSYM void tprintf(const char *format,...)
int XScaleFactor() const override