Metadata for preprocessed tensor.
This user metadata object is associated with a preprocessed tensor structure
Definition at line 484 of file metadata.hpp.
Public Member Functions | |
PreprocessTensorMetadata (void *data=nullptr) | |
virtual | ~PreprocessTensorMetadata () |
std::string | getName () const |
Get the name of the tensor. More... | |
unsigned int | getMetaId () const |
Get the meta id of the tensor. More... | |
Tensor * | getTensor () const |
Get the tensor. More... | |
operator bool () const | |
Protected Attributes | |
void * | data_ |
deepstream::PreprocessTensorMetadata::PreprocessTensorMetadata | ( | void * | data = nullptr | ) |
|
virtual |
unsigned int deepstream::PreprocessTensorMetadata::getMetaId | ( | ) | const |
Get the meta id of the tensor.
std::string deepstream::PreprocessTensorMetadata::getName | ( | ) | const |
Get the name of the tensor.
Tensor* deepstream::PreprocessTensorMetadata::getTensor | ( | ) | const |
Get the tensor.
|
inline |
Definition at line 498 of file metadata.hpp.
References data_.
|
protected |
Definition at line 503 of file metadata.hpp.
Referenced by operator bool().