19 #ifndef TESSERACT_LSTM_REVERSED_H_    20 #define TESSERACT_LSTM_REVERSED_H_    47     if (net_spec[0] == 
'L') {
    58       for (
int i = 0; i < net_spec.
length(); ++i) {
    59         if (net_spec[i] == from) net_spec[i] = to;
    89 #endif  // TESSERACT_LSTM_REVERSED_H_ 
StaticShape OutputShape(const StaticShape &input_shape) const override
 
Reversed(const STRING &name, NetworkType type)
 
PointerVector< Network > stack_
 
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
 
void SetNetwork(Network *network)
 
const STRING & name() const
 
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
 
virtual ~Reversed()=default
 
STRING spec() const override