MNN  1.0
命名空间 | | 类型定义 | 枚举
MNN 命名空间参考

命名空间

 CV
 

class  AutoTime
 
class  Interpreter
 
class  OperatorInfo
 
struct  ScheduleConfig
 
class  Tensor
 

类型定义

typedef std::function< bool(const std::vector< Tensor * > &, const std::string &)> TensorCallBack
 
typedef std::function< bool(const std::vector< Tensor * > &, const OperatorInfo *)> TensorCallBackWithInfo
 

枚举

enum  ErrorCode {
  NO_ERROR = 0, OUT_OF_MEMORY = 1, NOT_SUPPORT = 2, COMPUTE_SIZE_ERROR = 3,
  NO_EXECUTION = 4, INPUT_DATA_ERROR = 10, CALL_BACK_STOP = 11, TENSOR_NOT_SUPPORT = 20,
  TENSOR_NEED_DIVIDE = 21
}
 

类型定义说明

◆ TensorCallBack

typedef std::function<bool(const std::vector<Tensor*>&, const std::string& )> MNN::TensorCallBack

◆ TensorCallBackWithInfo

typedef std::function<bool(const std::vector<Tensor*>&, const OperatorInfo*)> MNN::TensorCallBackWithInfo

枚举类型说明

◆ ErrorCode

枚举值
NO_ERROR 
OUT_OF_MEMORY 
NOT_SUPPORT 
COMPUTE_SIZE_ERROR 
NO_EXECUTION 
INPUT_DATA_ERROR 
CALL_BACK_STOP 
TENSOR_NOT_SUPPORT 
TENSOR_NEED_DIVIDE