19 #ifndef TESSERACT_LSTM_STATIC_SHAPE_H_
20 #define TESSERACT_LSTM_STATIC_SHAPE_H_
41 : batch_(0), height_(0), width_(0), depth_(0), loss_type_(
LT_NONE) {}
42 int batch()
const {
return batch_; }
44 int height()
const {
return height_; }
46 int width()
const {
return width_; }
48 int depth()
const {
return depth_; }
60 tprintf(
"Batch=%d, Height=%d, Width=%d, Depth=%d, loss=%d\n", batch_,
61 height_, width_, depth_, loss_type_);
72 loss_type_ = static_cast<LossType>(tmp);
77 int32_t tmp = loss_type_;
104 #endif // TESSERACT_LSTM_STATIC_SHAPE_H_