NVIDIA DeepStream SDK API Reference

8.0 Release
nvdsinferserver::TritonGrpcRequest Class Reference

Detailed Description

Triton gRPC inference request class holding data associated with one inference request.

Definition at line 55 of file sources/libs/nvdsinferserver/infer_grpc_client.h.

Public Member Functions

 ~TritonGrpcRequest ()
 Destructor, free the host memory allocated for the request. More...
 
NvDsInferStatus appendInput (const std::shared_ptr< tc::InferInput > &input)
 Append the array of Triton client library inference input objects. More...
 
void attachData (void *data)
 Append the array of host memory allocations. More...
 
void attachInputCudaBuffer (std::string bufName)
 Append the list of shared CUDA input buffers. More...
 
 ~TritonGrpcRequest ()
 Destructor, free the host memory allocated for the request. More...
 
NvDsInferStatus appendInput (const std::shared_ptr< tc::InferInput > &input)
 Append the array of Triton client library inference input objects. More...
 
void attachData (void *data)
 Append the array of host memory allocations. More...
 
void attachInputCudaBuffer (std::string bufName)
 Append the list of shared CUDA input buffers. More...
 
NvDsInferStatus setOutput (const std::vector< std::shared_ptr< tc::InferRequestedOutput >> &output)
 Helper functions to access the member variables. More...
 
NvDsInferStatus setOption (std::shared_ptr< tc::InferOptions > &option)
 
std::vector< std::shared_ptr< tc::InferInput > > inputs ()
 
std::vector< std::shared_ptr< tc::InferRequestedOutput > > outputs ()
 
std::shared_ptr< tc::InferOptions > getOption ()
 
SharedIBatchArray inputBatchArray ()
 
void setInputBatchArray (SharedIBatchArray inputBatch)
 
std::vector< std::string > getOutNames ()
 
std::vector< std::string > getInputCudaBufNames ()
 
void setOutNames (std::vector< std::string > outnames)
 
NvDsInferStatus setOutput (const std::vector< std::shared_ptr< tc::InferRequestedOutput >> &output)
 Helper functions to access the member variables. More...
 
NvDsInferStatus setOption (std::shared_ptr< tc::InferOptions > &option)
 
std::vector< std::shared_ptr< tc::InferInput > > inputs ()
 
std::vector< std::shared_ptr< tc::InferRequestedOutput > > outputs ()
 
std::shared_ptr< tc::InferOptions > getOption ()
 
SharedIBatchArray inputBatchArray ()
 
void setInputBatchArray (SharedIBatchArray inputBatch)
 
std::vector< std::string > getOutNames ()
 
std::vector< std::string > getInputCudaBufNames ()
 
void setOutNames (std::vector< std::string > outnames)
 

Constructor & Destructor Documentation

◆ ~TritonGrpcRequest() [1/2]

nvdsinferserver::TritonGrpcRequest::~TritonGrpcRequest ( )

Destructor, free the host memory allocated for the request.

◆ ~TritonGrpcRequest() [2/2]

nvdsinferserver::TritonGrpcRequest::~TritonGrpcRequest ( )

Destructor, free the host memory allocated for the request.

Member Function Documentation

◆ appendInput() [1/2]

NvDsInferStatus nvdsinferserver::TritonGrpcRequest::appendInput ( const std::shared_ptr< tc::InferInput > &  input)

Append the array of Triton client library inference input objects.

◆ appendInput() [2/2]

NvDsInferStatus nvdsinferserver::TritonGrpcRequest::appendInput ( const std::shared_ptr< tc::InferInput > &  input)

Append the array of Triton client library inference input objects.

◆ attachData() [1/2]

void nvdsinferserver::TritonGrpcRequest::attachData ( void *  data)
inline

Append the array of host memory allocations.

Definition at line 84 of file 9.0/sources/libs/nvdsinferserver/infer_grpc_client.h.

◆ attachData() [2/2]

void nvdsinferserver::TritonGrpcRequest::attachData ( void *  data)
inline

Append the array of host memory allocations.

Definition at line 84 of file sources/libs/nvdsinferserver/infer_grpc_client.h.

◆ attachInputCudaBuffer() [1/2]

void nvdsinferserver::TritonGrpcRequest::attachInputCudaBuffer ( std::string  bufName)
inline

Append the list of shared CUDA input buffers.

Definition at line 91 of file sources/libs/nvdsinferserver/infer_grpc_client.h.

◆ attachInputCudaBuffer() [2/2]

void nvdsinferserver::TritonGrpcRequest::attachInputCudaBuffer ( std::string  bufName)
inline

Append the list of shared CUDA input buffers.

Definition at line 91 of file 9.0/sources/libs/nvdsinferserver/infer_grpc_client.h.

◆ getInputCudaBufNames() [1/2]

std::vector<std::string> nvdsinferserver::TritonGrpcRequest::getInputCudaBufNames ( )
inline

◆ getInputCudaBufNames() [2/2]

std::vector<std::string> nvdsinferserver::TritonGrpcRequest::getInputCudaBufNames ( )
inline

◆ getOption() [1/2]

std::shared_ptr<tc::InferOptions> nvdsinferserver::TritonGrpcRequest::getOption ( )
inline

◆ getOption() [2/2]

std::shared_ptr<tc::InferOptions> nvdsinferserver::TritonGrpcRequest::getOption ( )
inline

◆ getOutNames() [1/2]

std::vector<std::string> nvdsinferserver::TritonGrpcRequest::getOutNames ( )
inline

◆ getOutNames() [2/2]

std::vector<std::string> nvdsinferserver::TritonGrpcRequest::getOutNames ( )
inline

◆ inputBatchArray() [1/2]

SharedIBatchArray nvdsinferserver::TritonGrpcRequest::inputBatchArray ( )
inline

◆ inputBatchArray() [2/2]

SharedIBatchArray nvdsinferserver::TritonGrpcRequest::inputBatchArray ( )
inline

◆ inputs() [1/2]

std::vector<std::shared_ptr<tc::InferInput> > nvdsinferserver::TritonGrpcRequest::inputs ( )
inline

◆ inputs() [2/2]

std::vector<std::shared_ptr<tc::InferInput> > nvdsinferserver::TritonGrpcRequest::inputs ( )
inline

◆ outputs() [1/2]

std::vector<std::shared_ptr<tc::InferRequestedOutput> > nvdsinferserver::TritonGrpcRequest::outputs ( )
inline

◆ outputs() [2/2]

std::vector<std::shared_ptr<tc::InferRequestedOutput> > nvdsinferserver::TritonGrpcRequest::outputs ( )
inline

◆ setInputBatchArray() [1/2]

void nvdsinferserver::TritonGrpcRequest::setInputBatchArray ( SharedIBatchArray  inputBatch)
inline

◆ setInputBatchArray() [2/2]

void nvdsinferserver::TritonGrpcRequest::setInputBatchArray ( SharedIBatchArray  inputBatch)
inline

◆ setOption() [1/2]

NvDsInferStatus nvdsinferserver::TritonGrpcRequest::setOption ( std::shared_ptr< tc::InferOptions > &  option)

◆ setOption() [2/2]

NvDsInferStatus nvdsinferserver::TritonGrpcRequest::setOption ( std::shared_ptr< tc::InferOptions > &  option)

◆ setOutNames() [1/2]

void nvdsinferserver::TritonGrpcRequest::setOutNames ( std::vector< std::string >  outnames)
inline

◆ setOutNames() [2/2]

void nvdsinferserver::TritonGrpcRequest::setOutNames ( std::vector< std::string >  outnames)
inline

◆ setOutput() [1/2]

NvDsInferStatus nvdsinferserver::TritonGrpcRequest::setOutput ( const std::vector< std::shared_ptr< tc::InferRequestedOutput >> &  output)

Helper functions to access the member variables.

◆ setOutput() [2/2]

NvDsInferStatus nvdsinferserver::TritonGrpcRequest::setOutput ( const std::vector< std::shared_ptr< tc::InferRequestedOutput >> &  output)

Helper functions to access the member variables.


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