|
| TESS_API | Input (const std::string &name, int ni, int no) |
| |
| TESS_API | Input (const std::string &name, const StaticShape &shape) |
| |
| | ~Input () override=default |
| |
| std::string | spec () const override |
| |
| StaticShape | InputShape () const override |
| |
| StaticShape | OutputShape ([[maybe_unused]] const StaticShape &input_shape) const override |
| |
| bool | Serialize (TFile *fp) const override |
| |
| bool | DeSerialize (TFile *fp) override |
| |
| int | XScaleFactor () const override |
| |
| void | CacheXScaleFactor (int factor) override |
| |
| void | Forward (bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override |
| |
| bool | Backward (bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override |
| |
| | Network () |
| |
| | Network (NetworkType type, const std::string &name, int ni, int no) |
| |
| virtual | ~Network ()=default |
| |
| NetworkType | type () const |
| |
| bool | IsTraining () const |
| |
| bool | needs_to_backprop () const |
| |
| int | num_weights () const |
| |
| int | NumInputs () const |
| |
| int | NumOutputs () const |
| |
| virtual StaticShape | OutputShape (const StaticShape &input_shape) const |
| |
| const std::string & | name () const |
| |
| bool | TestFlag (NetworkFlags flag) const |
| |
| virtual bool | IsPlumbingType () const |
| |
| virtual void | SetEnableTraining (TrainingState state) |
| |
| virtual void | SetNetworkFlags (uint32_t flags) |
| |
| virtual int | InitWeights (float range, TRand *randomizer) |
| |
| virtual int | RemapOutputs ([[maybe_unused]] int old_no, [[maybe_unused]] const std::vector< int > &code_map) |
| |
| virtual void | ConvertToInt () |
| |
| virtual void | SetRandomizer (TRand *randomizer) |
| |
| virtual bool | SetupNeedsBackprop (bool needs_backprop) |
| |
| virtual void | CacheXScaleFactor ([[maybe_unused]] int factor) |
| |
| virtual void | Update ([[maybe_unused]] float learning_rate, [[maybe_unused]] float momentum, [[maybe_unused]] float adam_beta, [[maybe_unused]] int num_samples) |
| |
| virtual void | CountAlternators ([[maybe_unused]] const Network &other, [[maybe_unused]] TFloat *same, [[maybe_unused]] TFloat *changed) const |
| |
| void | DisplayForward (const NetworkIO &matrix) |
| |
| void | DisplayBackward (const NetworkIO &matrix) |
| |
Definition at line 27 of file input.h.