nndeploy C++ API  0.2.0
nndeploy C++ API
Classes | Functions
nndeploy::inference Namespace Reference

Classes

class  Inference
 推理的基类 More...
 
class  InferenceCreator
 推理框架的创建类 More...
 
class  InferenceParam
 InferenceParam is the base class of all inference param. More...
 
class  InferenceParamCreator
 InferenceParamCreator is the base class of all inference param creator. More...
 
class  TypeInferenceCreator
 推理框架的创建类模板 More...
 
class  TypeInferenceParamCreator
 TypeInferenceParamCreator is the template class of all inference param. More...
 
class  TypeInferenceParamRegister
 TypeInferenceParamRegister is the template class of all inference. More...
 
class  TypeInferenceRegister
 推理框架的创建类的注册类模板 More...
 

Functions

std::shared_ptr< InferencecreateInference (base::InferenceType type)
 Create a Inference object. More...
 
std::shared_ptr< InferenceParamcreateInferenceParam (base::InferenceType type)
 Create a Inference Param object. More...
 
std::map< base::InferenceType, std::shared_ptr< InferenceCreator > > & getGlobalInferenceCreatorMap ()
 Get the Global Inference Creator Map object. More...
 
std::map< base::InferenceType, std::shared_ptr< InferenceParamCreator > > & getGlobalInferenceParamCreatorMap ()
 Get the Global Inference Param Creator Map object. More...
 

Function Documentation

◆ createInference()

std::shared_ptr<Inference> nndeploy::inference::createInference ( base::InferenceType  type)

Create a Inference object.

Parameters
type
Returns
Inference*

◆ createInferenceParam()

std::shared_ptr<InferenceParam> nndeploy::inference::createInferenceParam ( base::InferenceType  type)

Create a Inference Param object.

Parameters
type
Returns
InferenceParam *

◆ getGlobalInferenceCreatorMap()

std::map<base::InferenceType, std::shared_ptr<InferenceCreator> >& nndeploy::inference::getGlobalInferenceCreatorMap ( )

Get the Global Inference Creator Map object.

Returns
std::map<base::InferenceType, std::shared_ptr<InferenceCreator>>&

◆ getGlobalInferenceParamCreatorMap()

std::map<base::InferenceType, std::shared_ptr<InferenceParamCreator> >& nndeploy::inference::getGlobalInferenceParamCreatorMap ( )

Get the Global Inference Param Creator Map object.

Returns
std::map<base::InferenceType, std::shared_ptr<InferenceParamCreator>>&