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

#include <static_shape.h>

Public Member Functions

 StaticShape ()
 
int batch () const
 
void set_batch (int value)
 
int height () const
 
void set_height (int value)
 
int width () const
 
void set_width (int value)
 
int depth () const
 
void set_depth (int value)
 
LossType loss_type () const
 
void set_loss_type (LossType value)
 
void SetShape (int batch, int height, int width, int depth)
 
void Print () const
 
bool DeSerialize (TFile *fp)
 
bool Serialize (TFile *fp) const
 

Private Attributes

int32_t batch_
 
int32_t height_
 
int32_t width_
 
int32_t depth_
 
LossType loss_type_
 

Constructor & Destructor Documentation

◆ StaticShape()

tesseract::StaticShape::StaticShape ( )
inline

Member Function Documentation

◆ batch()

int tesseract::StaticShape::batch ( ) const
inline

◆ depth()

int tesseract::StaticShape::depth ( ) const
inline

◆ DeSerialize()

bool tesseract::StaticShape::DeSerialize ( TFile fp)
inline

◆ height()

int tesseract::StaticShape::height ( ) const
inline

◆ loss_type()

LossType tesseract::StaticShape::loss_type ( ) const
inline

◆ Print()

void tesseract::StaticShape::Print ( ) const
inline

◆ Serialize()

bool tesseract::StaticShape::Serialize ( TFile fp) const
inline

◆ set_batch()

void tesseract::StaticShape::set_batch ( int  value)
inline

◆ set_depth()

void tesseract::StaticShape::set_depth ( int  value)
inline

◆ set_height()

void tesseract::StaticShape::set_height ( int  value)
inline

◆ set_loss_type()

void tesseract::StaticShape::set_loss_type ( LossType  value)
inline

◆ set_width()

void tesseract::StaticShape::set_width ( int  value)
inline

◆ SetShape()

void tesseract::StaticShape::SetShape ( int  batch,
int  height,
int  width,
int  depth 
)
inline

◆ width()

int tesseract::StaticShape::width ( ) const
inline

Member Data Documentation

◆ batch_

int32_t tesseract::StaticShape::batch_
private

◆ depth_

int32_t tesseract::StaticShape::depth_
private

◆ height_

int32_t tesseract::StaticShape::height_
private

◆ loss_type_

LossType tesseract::StaticShape::loss_type_
private

◆ width_

int32_t tesseract::StaticShape::width_
private

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