19 #ifndef TESSERACT_LSTM_RECONFIG_H_ 20 #define TESSERACT_LSTM_RECONFIG_H_ 23 #include "genericvector.h" 85 #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: reconfig.cpp:93
virtual ~Reconfig()=default
Definition: static_shape.h:38
int XScaleFactor() const override
Definition: reconfig.cpp:46
Definition: networkscratch.h:36
int32_t y_scale_
Definition: reconfig.h:79
Definition: serialis.h:77
STRING spec() const override
Definition: reconfig.h:42
Definition: baseapi.cpp:94
StaticShape OutputShape(const StaticShape &input_shape) const override
Definition: reconfig.cpp:31
const STRING & name() const
Definition: network.h:138
StrideMap back_map_
Definition: reconfig.h:76
Definition: weightmatrix.h:33
bool DeSerialize(TFile *fp) override
Definition: reconfig.cpp:58
Definition: network.h:105
Reconfig(const STRING &name, int ni, int x_scale, int y_scale)
Definition: reconfig.cpp:24
int32_t x_scale_
Definition: reconfig.h:78
Definition: stridemap.h:43
Definition: networkio.h:39
Definition: reconfig.h:33
bool Serialize(TFile *fp) const override
Definition: reconfig.cpp:51
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
Definition: reconfig.cpp:67