tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::NetworkBuilder Class Reference

#include <networkbuilder.h>

Public Member Functions

 NetworkBuilder (int num_softmax_outputs)
 
NetworkBuildFromString (const StaticShape &input_shape, char **str)
 

Static Public Member Functions

static bool InitNetwork (int num_outputs, STRING network_spec, int append_index, int net_flags, float weight_range, TRand *randomizer, Network **network)
 

Private Member Functions

NetworkParseInput (char **str)
 
NetworkParseSeries (const StaticShape &input_shape, Input *input_layer, char **str)
 
NetworkParseParallel (const StaticShape &input_shape, char **str)
 
NetworkParseR (const StaticShape &input_shape, char **str)
 
NetworkParseS (const StaticShape &input_shape, char **str)
 
NetworkParseC (const StaticShape &input_shape, char **str)
 
NetworkParseM (const StaticShape &input_shape, char **str)
 
NetworkParseLSTM (const StaticShape &input_shape, char **str)
 
NetworkParseFullyConnected (const StaticShape &input_shape, char **str)
 
NetworkParseOutput (const StaticShape &input_shape, char **str)
 

Static Private Member Functions

static NetworkBuildLSTMXYQuad (int num_inputs, int num_states)
 

Private Attributes

int num_softmax_outputs_
 

Constructor & Destructor Documentation

◆ NetworkBuilder()

tesseract::NetworkBuilder::NetworkBuilder ( int  num_softmax_outputs)
inlineexplicit

Member Function Documentation

◆ BuildFromString()

Network * tesseract::NetworkBuilder::BuildFromString ( const StaticShape input_shape,
char **  str 
)

◆ BuildLSTMXYQuad()

Network * tesseract::NetworkBuilder::BuildLSTMXYQuad ( int  num_inputs,
int  num_states 
)
staticprivate

◆ InitNetwork()

bool tesseract::NetworkBuilder::InitNetwork ( int  num_outputs,
STRING  network_spec,
int  append_index,
int  net_flags,
float  weight_range,
TRand randomizer,
Network **  network 
)
static

◆ ParseC()

Network * tesseract::NetworkBuilder::ParseC ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseFullyConnected()

Network * tesseract::NetworkBuilder::ParseFullyConnected ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseInput()

Network * tesseract::NetworkBuilder::ParseInput ( char **  str)
private

◆ ParseLSTM()

Network * tesseract::NetworkBuilder::ParseLSTM ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseM()

Network * tesseract::NetworkBuilder::ParseM ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseOutput()

Network * tesseract::NetworkBuilder::ParseOutput ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseParallel()

Network * tesseract::NetworkBuilder::ParseParallel ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseR()

Network * tesseract::NetworkBuilder::ParseR ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseS()

Network * tesseract::NetworkBuilder::ParseS ( const StaticShape input_shape,
char **  str 
)
private

◆ ParseSeries()

Network * tesseract::NetworkBuilder::ParseSeries ( const StaticShape input_shape,
Input input_layer,
char **  str 
)
private

Member Data Documentation

◆ num_softmax_outputs_

int tesseract::NetworkBuilder::num_softmax_outputs_
private

The documentation for this class was generated from the following files: