NVIDIA DeepStream SDK API Reference

8.0 Release
ds3d::v2xinfer Namespace Reference

Data Structures

struct  Tensor
 
struct  TensorData
 

Enumerations

enum  DataType : int {
  DataType::None = 0,
  DataType::Int32 = 1,
  DataType::Float16 = 2,
  DataType::Float32 = 3,
  DataType::Int64 = 4,
  DataType::UInt64 = 5,
  DataType::UInt32 = 6,
  DataType::Int8 = 7,
  DataType::UInt8 = 8,
  DataType::UInt16 = 9,
  DataType::Int16 = 10
}
 

Functions

static std::string format (const char *fmt,...)
 
const char * dtype_string (DataType dtype)
 
size_t dtype_bytes (DataType dtype)
 
template<typename _T >
std::string format_shape (const std::vector< _T > &shape)
 

Enumeration Type Documentation

◆ DataType

enum ds3d::v2xinfer::DataType : int
strong
Enumerator
None 
Int32 
Float16 
Float32 
Int64 
UInt64 
UInt32 
Int8 
UInt8 
UInt16 
Int16 

Definition at line 34 of file sources/libs/ds3d/inference_custom_lib/ds3d_v2x_infer_custom_preprocess/tensor.hpp.

Function Documentation

◆ dtype_bytes()

size_t ds3d::v2xinfer::dtype_bytes ( DataType  dtype)

◆ dtype_string()

const char* ds3d::v2xinfer::dtype_string ( DataType  dtype)

◆ format()

static std::string ds3d::v2xinfer::format ( const char *  fmt,
  ... 
)
inlinestatic

◆ format_shape()

template<typename _T >
std::string ds3d::v2xinfer::format_shape ( const std::vector< _T > &  shape)