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 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...
 
TensorgetTensor () const
 Get the tensor. More...
 
 operator bool () const
 

Protected Attributes

void * data_
 

Constructor & Destructor Documentation

◆ PreprocessTensorMetadata()

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

◆ ~PreprocessTensorMetadata()

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

Member Function Documentation

◆ getMetaId()

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

Get the meta id of the tensor.

◆ getName()

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

Get the name of the tensor.

◆ getTensor()

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

Get the tensor.

◆ operator bool()

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

Definition at line 498 of file metadata.hpp.

References data_.

Field Documentation

◆ data_

void* deepstream::PreprocessTensorMetadata::data_
protected

Definition at line 503 of file metadata.hpp.

Referenced by operator bool().


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