OpenCV 4.11.0
开源计算机视觉库
加载中…
搜索中…
无匹配项
cv::cann::OperatorRunner 类参考

调用CANN包中算子的接口。 更多…

#include <opencv2/cann_call.hpp>

cv::cann::OperatorRunner 的协作图

公有成员函数

 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)
 

详细描述

调用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)

此类的文档是从以下文件生成的: