#include <static_shape.h>
Definition at line 36 of file static_shape.h.
◆ StaticShape()
tesseract::StaticShape::StaticShape |
( |
| ) |
|
|
inline |
Definition at line 38 of file static_shape.h.
39 : batch_(0), height_(0), width_(0), depth_(0), loss_type_(
LT_NONE) {}
◆ batch()
int tesseract::StaticShape::batch |
( |
| ) |
const |
|
inline |
◆ depth()
int tesseract::StaticShape::depth |
( |
| ) |
const |
|
inline |
◆ height()
int tesseract::StaticShape::height |
( |
| ) |
const |
|
inline |
◆ loss_type()
LossType tesseract::StaticShape::loss_type |
( |
| ) |
const |
|
inline |
◆ Print()
void tesseract::StaticShape::Print |
( |
| ) |
const |
|
inline |
Definition at line 57 of file static_shape.h.
58 tprintf(
"Batch=%d, Height=%d, Width=%d, Depth=%d, loss=%d\n", batch_,
59 height_, width_, depth_, loss_type_);
◆ 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 |
The documentation for this class was generated from the following file: