19 #ifndef TESSERACT_LSTM_STATIC_SHAPE_H_ 20 #define TESSERACT_LSTM_STATIC_SHAPE_H_ 60 tprintf(
"Batch=%d, Height=%d, Width=%d, Depth=%d, loss=%d\n",
batch_,
104 #endif // TESSERACT_LSTM_STATIC_SHAPE_H_ LossType
Definition: static_shape.h:29
void Print() const
Definition: static_shape.h:59
void set_width(int value)
Definition: static_shape.h:47
Definition: static_shape.h:33
Definition: static_shape.h:38
int width() const
Definition: static_shape.h:46
void set_batch(int value)
Definition: static_shape.h:43
Definition: static_shape.h:30
LossType loss_type() const
Definition: static_shape.h:50
Definition: serialis.h:77
Definition: baseapi.cpp:94
void SetShape(int batch, int height, int width, int depth)
Definition: static_shape.h:52
void set_loss_type(LossType value)
Definition: static_shape.h:51
bool Serialize(TFile *fp) const
Definition: static_shape.h:76
bool DeSerialize(char *data, size_t count=1)
Definition: serialis.cpp:103
int height() const
Definition: static_shape.h:44
int32_t depth_
Definition: static_shape.h:97
int32_t width_
Definition: static_shape.h:95
int32_t height_
Definition: static_shape.h:93
Definition: static_shape.h:32
int depth() const
Definition: static_shape.h:48
bool DeSerialize(TFile *fp)
Definition: static_shape.h:64
void set_height(int value)
Definition: static_shape.h:45
LossType loss_type_
Definition: static_shape.h:99
int32_t batch_
Definition: static_shape.h:91
StaticShape()
Definition: static_shape.h:40
bool Serialize(const char *data, size_t count=1)
Definition: serialis.cpp:147
void set_depth(int value)
Definition: static_shape.h:49
Definition: static_shape.h:31
int batch() const
Definition: static_shape.h:42