| tesseract
    4.0.0-1-g2a2b
    | 
#include <parallel.h>
 
  
 | Public Member Functions | |
| Parallel (const STRING &name, NetworkType type) | |
| virtual | ~Parallel ()=default | 
| StaticShape | OutputShape (const StaticShape &input_shape) const override | 
| STRING | spec () const 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 | 
|  Public Member Functions inherited from tesseract::Plumbing | |
| Plumbing (const STRING &name) | |
| virtual | ~Plumbing ()=default | 
| StaticShape | InputShape () const override | 
| STRING | spec () const override | 
| bool | IsPlumbingType () const override | 
| void | SetEnableTraining (TrainingState state) override | 
| void | SetNetworkFlags (uint32_t flags) override | 
| int | InitWeights (float range, TRand *randomizer) override | 
| int | RemapOutputs (int old_no, const std::vector< int > &code_map) override | 
| void | ConvertToInt () override | 
| void | SetRandomizer (TRand *randomizer) override | 
| virtual void | AddToStack (Network *network) | 
| bool | SetupNeedsBackprop (bool needs_backprop) override | 
| int | XScaleFactor () const override | 
| void | CacheXScaleFactor (int factor) override | 
| void | DebugWeights () override | 
| const PointerVector< Network > & | stack () const | 
| void | EnumerateLayers (const STRING *prefix, GenericVector< STRING > *layers) const | 
| Network * | GetLayer (const char *id) const | 
| float | LayerLearningRate (const char *id) const | 
| void | ScaleLayerLearningRate (const char *id, double factor) | 
| float * | LayerLearningRatePtr (const char *id) const | 
| bool | Serialize (TFile *fp) const override | 
| bool | DeSerialize (TFile *fp) override | 
| void | Update (float learning_rate, float momentum, float adam_beta, int num_samples) override | 
| void | CountAlternators (const Network &other, double *same, double *changed) const override | 
|  Public Member Functions inherited from tesseract::Network | |
| Network () | |
| Network (NetworkType type, const 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 | 
| const STRING & | name () const | 
| bool | TestFlag (NetworkFlags flag) const | 
| void | DisplayForward (const NetworkIO &matrix) | 
| void | DisplayBackward (const NetworkIO &matrix) | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from tesseract::Network | |
| static Network * | CreateFromFile (TFile *fp) | 
| static void | ClearWindow (bool tess_coords, const char *window_name, int width, int height, ScrollView **window) | 
| static int | DisplayImage (Pix *pix, ScrollView *window) | 
|  Protected Member Functions inherited from tesseract::Network | |
| double | Random (double range) | 
|  Protected Attributes inherited from tesseract::Plumbing | |
| PointerVector< Network > | stack_ | 
| GenericVector< float > | learning_rates_ | 
|  Protected Attributes inherited from tesseract::Network | |
| NetworkType | type_ | 
| TrainingState | training_ | 
| bool | needs_to_backprop_ | 
| int32_t | network_flags_ | 
| int32_t | ni_ | 
| int32_t | no_ | 
| int32_t | num_weights_ | 
| STRING | name_ | 
| ScrollView * | forward_win_ | 
| ScrollView * | backward_win_ | 
| TRand * | randomizer_ | 
|  Static Protected Attributes inherited from tesseract::Network | |
| static char const *const | kTypeNames [NT_COUNT] | 
Definition at line 27 of file parallel.h.
| tesseract::Parallel::Parallel | ( | const STRING & | name, | 
| NetworkType | type | ||
| ) | 
Definition at line 31 of file parallel.cpp.
| 
 | virtualdefault | 
| 
 | overridevirtual | 
Reimplemented from tesseract::Network.
Definition at line 110 of file parallel.cpp.
| 
 | overridevirtual | 
Reimplemented from tesseract::Network.
Definition at line 49 of file parallel.cpp.
| 
 | overridevirtual | 
| 
 | inlineoverridevirtual | 
Reimplemented from tesseract::Network.
Definition at line 37 of file parallel.h.