调用CANN包中算子的接口。 更多…
#include <opencv2/cann_call.hpp>
|
| OperatorRunner () |
|
virtual | ~OperatorRunner () |
|
OperatorRunner | addAttr (bool value, const char *name) |
|
OperatorRunner | addAttr (const char *value, const char *name) |
|
OperatorRunner | addAttr (const int64_t *value, int size, const char *name) |
|
OperatorRunner | addAttr (float value, const char *name) |
|
OperatorRunner | addAttr (int value, const char *name) |
|
OperatorRunner | addInput (const AscendMat &mat) |
|
OperatorRunner | addInput (const AscendMat &mat, const char *name) |
|
OperatorRunner | addInput (const Scalar &sc, int type, const char *name) |
|
template<typename T > |
OperatorRunner | addInput (const T *value, int64_t *dims, size_t dimSize, aclDataType type, const char *name) |
|
OperatorRunner | addOutput (AscendMat &mat) |
|
OperatorRunner | addOutput (AscendMat &mat, const char *name) |
|
OperatorRunner | reset () |
|
OperatorRunner | run (AscendStream &stream) |
|
OperatorRunner | setOp (const char *op) |
|
◆ 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]
◆ addInput() [2/4]
◆ 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]
◆ addOutput() [2/2]
◆ reset()
◆ run()
◆ setOp()
此类的文档是从以下文件生成的: