NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::PreprocessTensorMetadata Class Reference

Detailed Description

Metadata for preprocessed tensor.

This user metadata object is associated with a preprocessed tensor structure

Definition at line 504 of file service-maker/includes/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...
 
TensorgetTensor () const
 Get the tensor. More...
 
 operator bool () const
 
 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...
 
TensorgetTensor () const
 Get the tensor. More...
 
 operator bool () const
 

Protected Attributes

void * data_
 

Constructor & Destructor Documentation

◆ PreprocessTensorMetadata() [1/2]

deepstream::PreprocessTensorMetadata::PreprocessTensorMetadata ( void *  data = nullptr)

◆ ~PreprocessTensorMetadata() [1/2]

virtual deepstream::PreprocessTensorMetadata::~PreprocessTensorMetadata ( )
virtual

◆ PreprocessTensorMetadata() [2/2]

deepstream::PreprocessTensorMetadata::PreprocessTensorMetadata ( void *  data = nullptr)

◆ ~PreprocessTensorMetadata() [2/2]

virtual deepstream::PreprocessTensorMetadata::~PreprocessTensorMetadata ( )
virtual

Member Function Documentation

◆ getMetaId() [1/2]

unsigned int deepstream::PreprocessTensorMetadata::getMetaId ( ) const

Get the meta id of the tensor.

◆ getMetaId() [2/2]

unsigned int deepstream::PreprocessTensorMetadata::getMetaId ( ) const

Get the meta id of the tensor.

◆ getName() [1/2]

std::string deepstream::PreprocessTensorMetadata::getName ( ) const

Get the name of the tensor.

◆ getName() [2/2]

std::string deepstream::PreprocessTensorMetadata::getName ( ) const

Get the name of the tensor.

◆ getTensor() [1/2]

Tensor* deepstream::PreprocessTensorMetadata::getTensor ( ) const

Get the tensor.

◆ getTensor() [2/2]

Tensor* deepstream::PreprocessTensorMetadata::getTensor ( ) const

Get the tensor.

◆ operator bool() [1/2]

deepstream::PreprocessTensorMetadata::operator bool ( ) const
inline

Definition at line 518 of file service-maker/includes/metadata.hpp.

References data_.

◆ operator bool() [2/2]

deepstream::PreprocessTensorMetadata::operator bool ( ) const
inline

Definition at line 518 of file 9.0/service-maker/includes/metadata.hpp.

References data_.

Field Documentation

◆ data_

void * deepstream::PreprocessTensorMetadata::data_
protected

Definition at line 523 of file service-maker/includes/metadata.hpp.

Referenced by operator bool().


The documentation for this class was generated from the following file: