OpenCV
5.0.0-pre
Open Source Computer Vision
|
Interface to call operators in CANN package. More...
#include <opencv2/cann_call.hpp>
Public Member Functions | |
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) |
Interface to call operators in CANN package.
|
inline |
|
inlinevirtual |
OperatorRunner & cv::cann::OperatorRunner::addAttr | ( | bool | value, |
const char * | name | ||
) |
OperatorRunner & cv::cann::OperatorRunner::addAttr | ( | const char * | value, |
const char * | name | ||
) |
OperatorRunner & cv::cann::OperatorRunner::addAttr | ( | const int64_t * | value, |
int | size, | ||
const char * | name | ||
) |
OperatorRunner & cv::cann::OperatorRunner::addAttr | ( | float | value, |
const char * | name | ||
) |
OperatorRunner & cv::cann::OperatorRunner::addAttr | ( | int | value, |
const char * | name | ||
) |
OperatorRunner & cv::cann::OperatorRunner::addInput | ( | const AscendMat & | mat | ) |
OperatorRunner & cv::cann::OperatorRunner::addInput | ( | const AscendMat & | mat, |
const char * | name | ||
) |
OperatorRunner & cv::cann::OperatorRunner::addInput | ( | const Scalar & | sc, |
int | type, | ||
const char * | name | ||
) |
|
inline |
OperatorRunner & cv::cann::OperatorRunner::addOutput | ( | AscendMat & | mat | ) |
OperatorRunner & cv::cann::OperatorRunner::addOutput | ( | AscendMat & | mat, |
const char * | name | ||
) |
OperatorRunner & cv::cann::OperatorRunner::reset | ( | ) |
OperatorRunner & cv::cann::OperatorRunner::run | ( | AscendStream & | stream | ) |
OperatorRunner & cv::cann::OperatorRunner::setOp | ( | const char * | op | ) |