OpenCV  4.10.0
开源计算机视觉库
正在加载...
正在搜索...
没有匹配项
公有成员函数 | 所有成员列表
cv::cann::OperatorRunner 类参考

用于在 CANN 包中调用算子的接口。 更多...

#include <opencv2/cann_call.hpp>

cv::cann::OperatorRunner 的协作图

公有成员函数

 OperatorRunner ()
 
virtual ~OperatorRunner ()
 
OperatorRunneraddAttr (bool value, const char *name)
 
OperatorRunneraddAttr (const char *value, const char *name)
 
OperatorRunneraddAttr (const int64_t *value, int size, const char *name)
 
OperatorRunneraddAttr (float value, const char *name)
 
OperatorRunneraddAttr (int value, const char *name)
 
OperatorRunneraddInput (const AscendMat &mat)
 
OperatorRunneraddInput (const AscendMat &mat, const char *name)
 
OperatorRunneraddInput (const Scalar &sc, int type, const char *name)
 
template<typename T >
OperatorRunneraddInput (const T *value, int64_t *dims, size_t dimSize, aclDataType type, const char *name)
 
OperatorRunneraddOutput (AscendMat &mat)
 
OperatorRunneraddOutput (AscendMat &mat, const char *name)
 
OperatorRunnerreset ()
 
OperatorRunnerrun (AscendStream &stream)
 
OperatorRunnersetOp (const char *op)
 

详细描述

用于在 CANN 包中调用算子的接口。

构造函数和析构函数文档

◆ OperatorRunner()

cv::cann::OperatorRunner::OperatorRunner ( )
inline

◆ ~OperatorRunner()

virtual cv::cann::OperatorRunner::~OperatorRunner ( )
inlinevirtual
此函数的调用图如下

成员函数文档

◆ addAttr() [1/5]

OperatorRunner & cv::cann::OperatorRunner::addAttr ( bool  value,
const char *  name 
)

◆ addAttr() [2/5]

OperatorRunner & cv::cann::OperatorRunner::addAttr ( const char *  value,
const char *  name 
)

◆ addAttr() [3/5]

OperatorRunner & cv::cann::OperatorRunner::addAttr ( const int64_t *  value,
int  size,
const char *  name 
)

◆ addAttr() [4/5]

OperatorRunner & cv::cann::OperatorRunner::addAttr ( float  value,
const char *  name 
)

◆ addAttr() [5/5]

OperatorRunner & cv::cann::OperatorRunner::addAttr ( int  value,
const char *  name 
)

◆ addInput() [1/4]

OperatorRunner & cv::cann::OperatorRunner::addInput ( const AscendMat mat)

◆ addInput() [2/4]

OperatorRunner & cv::cann::OperatorRunner::addInput ( const AscendMat mat,
const char *  name 
)

◆ addInput() [3/4]

OperatorRunner & cv::cann::OperatorRunner::addInput ( const Scalar sc,
int  type,
const char *  name 
)

◆ addInput() [4/4]

template<typename T >
OperatorRunner & cv::cann::OperatorRunner::addInput ( const T *  value,
int64_t *  dims,
size_t  dimSize,
aclDataType  type,
const char *  name 
)
inline
此函数的调用图如下

◆ addOutput() [1/2]

OperatorRunner & cv::cann::OperatorRunner::addOutput ( AscendMat mat)

◆ addOutput() [2/2]

OperatorRunner & cv::cann::OperatorRunner::addOutput ( AscendMat mat,
const char *  name 
)

◆ reset()

OperatorRunner & cv::cann::OperatorRunner::reset ( )

◆ run()

OperatorRunner & cv::cann::OperatorRunner::run ( AscendStream stream)

◆ setOp()

OperatorRunner & cv::cann::OperatorRunner::setOp ( const char *  op)

此类的文档由以下文件生成