NVIDIA DeepStream SDK API Reference

6.4 Release
nvdsinferserver::InferSimpleContext Class Reference

Detailed Description

Definition at line 24 of file infer_simple_context.h.

Inheritance diagram for nvdsinferserver::InferSimpleContext:
Collaboration diagram for nvdsinferserver::InferSimpleContext:

Public Member Functions

 InferSimpleContext ()
 
 ~InferSimpleContext () override
 
NvDsInferStatus initialize (const std::string &prototxt, InferLoggingFunc logFunc) final
 
NvDsInferStatus run (SharedIBatchArray input, InferOutputCb outputCb) final
 

Protected Member Functions

NvDsInferStatus createNNBackend (const ic::BackendParams &params, int maxBatchSize, UniqBackend &backend)
 
NvDsInferStatus fixateInferenceInfo (const ic::InferenceConfig &config, BaseBackend &backend) override
 
NvDsInferStatus deinit () override
 
virtual void backendConsumedInputs (SharedBatchArray inputs)
 
const ic::InferenceConfig & config () const
 
int maxBatchSize () const
 
int uniqueId () const
 
BaseBackendbackend ()
 
const SharedDllHandlecustomLib () const
 
bool needCopyInputToHost () const
 
void print (NvDsInferLogLevel l, const char *msg)
 
bool needPreprocess () const
 

Constructor & Destructor Documentation

◆ InferSimpleContext()

nvdsinferserver::InferSimpleContext::InferSimpleContext ( )

◆ ~InferSimpleContext()

nvdsinferserver::InferSimpleContext::~InferSimpleContext ( )
override

Member Function Documentation

◆ backend()

BaseBackend* nvdsinferserver::InferBaseContext::backend ( )
inlineprotectedinherited

Definition at line 101 of file infer_base_context.h.

◆ backendConsumedInputs()

virtual void nvdsinferserver::InferBaseContext::backendConsumedInputs ( SharedBatchArray  inputs)
inlineprotectedvirtualinherited

Definition at line 93 of file infer_base_context.h.

◆ config()

const ic::InferenceConfig& nvdsinferserver::InferBaseContext::config ( ) const
inlineprotectedinherited

Definition at line 98 of file infer_base_context.h.

◆ createNNBackend()

NvDsInferStatus nvdsinferserver::InferSimpleContext::createNNBackend ( const ic::BackendParams &  params,
int  maxBatchSize,
UniqBackend backend 
)
protectedvirtual

◆ customLib()

const SharedDllHandle& nvdsinferserver::InferBaseContext::customLib ( ) const
inlineprotectedinherited

Definition at line 102 of file infer_base_context.h.

◆ deinit()

NvDsInferStatus nvdsinferserver::InferSimpleContext::deinit ( )
overrideprotected

◆ fixateInferenceInfo()

NvDsInferStatus nvdsinferserver::InferSimpleContext::fixateInferenceInfo ( const ic::InferenceConfig &  config,
BaseBackend backend 
)
overrideprotectedvirtual

◆ initialize()

NvDsInferStatus nvdsinferserver::InferBaseContext::initialize ( const std::string &  prototxt,
InferLoggingFunc  logFunc 
)
finalinherited

◆ maxBatchSize()

int nvdsinferserver::InferBaseContext::maxBatchSize ( ) const
inlineprotectedinherited

Definition at line 99 of file infer_base_context.h.

◆ needCopyInputToHost()

bool nvdsinferserver::InferBaseContext::needCopyInputToHost ( ) const
protectedinherited

◆ needPreprocess()

bool nvdsinferserver::InferBaseContext::needPreprocess ( ) const
protectedinherited

◆ print()

void nvdsinferserver::InferBaseContext::print ( NvDsInferLogLevel  l,
const char *  msg 
)
protectedinherited

◆ run()

NvDsInferStatus nvdsinferserver::InferBaseContext::run ( SharedIBatchArray  input,
InferOutputCb  outputCb 
)
finalinherited

◆ uniqueId()

int nvdsinferserver::InferBaseContext::uniqueId ( ) const
inlineprotectedinherited

Definition at line 100 of file infer_base_context.h.


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