19 #ifndef TESSERACT_LSTM_PARALLEL_H_ 20 #define TESSERACT_LSTM_PARALLEL_H_ 87 #endif // TESSERACT_LSTM_PARALLEL_H_ void add_str_int(const char *str, int number)
Definition: strngs.cpp:379
PointerVector< Network > stack_
Definition: plumbing.h:136
Definition: static_shape.h:38
virtual ~Parallel()=default
Definition: plumbing.h:30
Definition: networkscratch.h:36
Parallel(const STRING &name, NetworkType type)
Definition: parallel.cpp:31
TransposedArray transposed_input_
Definition: parallel.h:82
Definition: baseapi.cpp:94
const STRING & name() const
Definition: network.h:138
NetworkType
Definition: network.h:43
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
Definition: parallel.cpp:110
Definition: weightmatrix.h:33
NetworkType type() const
Definition: network.h:112
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
Definition: parallel.cpp:49
StaticShape OutputShape(const StaticShape &input_shape) const override
Definition: parallel.cpp:37
Definition: parallel.h:27
int32_t no_
Definition: network.h:304
Definition: networkio.h:39
NetworkType type_
Definition: network.h:299
STRING spec() const override
Definition: parallel.h:37