#include <networkscratch.h>
Definition at line 136 of file networkscratch.h.
◆ FloatVec() [1/2]
tesseract::NetworkScratch::FloatVec::FloatVec |
( |
int |
size, |
|
|
NetworkScratch * |
scratch |
|
) |
| |
|
inline |
Definition at line 139 of file networkscratch.h.
140 : vec_(
nullptr), scratch_space_(scratch) {
void Init(int size, NetworkScratch *scratch)
◆ FloatVec() [2/2]
tesseract::NetworkScratch::FloatVec::FloatVec |
( |
| ) |
|
|
inline |
Definition at line 144 of file networkscratch.h.
144 : vec_(
nullptr), data_(
nullptr), scratch_space_(
nullptr) {}
◆ ~FloatVec()
tesseract::NetworkScratch::FloatVec::~FloatVec |
( |
| ) |
|
|
inline |
◆ get()
double* tesseract::NetworkScratch::FloatVec::get |
( |
| ) |
|
|
inline |
◆ Init()
void tesseract::NetworkScratch::FloatVec::Init |
( |
int |
size, |
|
|
NetworkScratch * |
scratch |
|
) |
| |
|
inline |
Definition at line 149 of file networkscratch.h.
150 if (scratch_space_ !=
nullptr && vec_ !=
nullptr)
151 scratch_space_->vec_stack_.
Return(vec_);
152 scratch_space_ = scratch;
153 vec_ = scratch_space_->vec_stack_.
Borrow();
void resize_no_init(int size)
◆ operator double *()
tesseract::NetworkScratch::FloatVec::operator double * |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: