NVIDIA DeepStream SDK API Reference

6.4 Release
infer_datatypes.h File Reference

Detailed Description

Header file for the data types used in the inference processing.

Definition in file infer_datatypes.h.

Go to the source code of this file.

Data Structures

struct  nvdsinferserver::InferDims
 Holds the information about the dimensions of a neural network layer. More...
 
struct  nvdsinferserver::InferBatchDims
 Holds full dimensions (including batch size) for a layer. More...
 
struct  nvdsinferserver::InferBufferDescription
 Holds the information about a inference buffer. More...
 
class  nvdsinferserver::IBatchBuffer
 Interface class for a batch buffer. More...
 
class  nvdsinferserver::IBatchArray
 Interface class for an array of batch buffers. More...
 

Namespaces

 nvdsinferserver
 Copyright (c) 2021, NVIDIA CORPORATION.
 

Typedefs

using nvdsinferserver::SharedIBatchBuffer = std::shared_ptr< IBatchBuffer >
 
using nvdsinferserver::SharedIBatchArray = std::shared_ptr< IBatchArray >
 
using nvdsinferserver::SharedIOptions = std::shared_ptr< IOptions >
 

Enumerations

enum  nvdsinferserver::InferTensorOrder : int {
  nvdsinferserver::InferTensorOrder::kNone = 0,
  nvdsinferserver::InferTensorOrder::kLinear = 1,
  nvdsinferserver::InferTensorOrder::kNHWC = 2
}
 The type of tensor order. More...
 
enum  nvdsinferserver::InferMemType : int {
  nvdsinferserver::InferMemType::kNone = 0,
  nvdsinferserver::InferMemType::kGpuCuda = 1,
  nvdsinferserver::InferMemType::kCpu = 2,
  nvdsinferserver::InferMemType::kCpuCuda = 3,
  nvdsinferserver::InferMemType::kNvSurface = 5,
  nvdsinferserver::InferMemType::kNvSurfaceArray = 6
}
 The memory types of inference buffers. More...
 
enum  nvdsinferserver::InferDataType : int {
  nvdsinferserver::InferDataType::kFp32 = FLOAT,
  nvdsinferserver::InferDataType::kFp16 = HALF,
  nvdsinferserver::InferDataType::kInt8 = INT8,
  nvdsinferserver::InferDataType::kInt32 = INT32,
  nvdsinferserver::InferDataType::kInt16 = 7,
  nvdsinferserver::InferDataType::kUint8,
  nvdsinferserver::InferDataType::kUint16,
  nvdsinferserver::InferDataType::kUint32,
  nvdsinferserver::InferDataType::kFp64,
  nvdsinferserver::InferDataType::kInt64,
  nvdsinferserver::InferDataType::kUint64,
  nvdsinferserver::InferDataType::kString,
  nvdsinferserver::InferDataType::kBool,
  nvdsinferserver::InferDataType::kNone = -1
}
 Datatype of the tensor buffer. More...
 
enum  nvdsinferserver::InferPostprocessType : int {
  nvdsinferserver::InferPostprocessType::kDetector = 0,
  nvdsinferserver::InferPostprocessType::kClassifier = 1,
  nvdsinferserver::InferPostprocessType::kSegmentation = 2,
  nvdsinferserver::InferPostprocessType::kTrtIsClassifier = 3,
  nvdsinferserver::InferPostprocessType::kOther = 100
}
 Inference post processing types. More...
 
enum  nvdsinferserver::InferMediaFormat : int {
  nvdsinferserver::InferMediaFormat::kRGB = 0,
  nvdsinferserver::InferMediaFormat::kBGR,
  nvdsinferserver::InferMediaFormat::kGRAY,
  nvdsinferserver::InferMediaFormat::kRGBA,
  nvdsinferserver::InferMediaFormat::kBGRx,
  nvdsinferserver::InferMediaFormat::kUnknown = -1
}
 Image formats. More...