ONE - On-device Neural Engine
|
Static Public Member Functions | |
static nnfw_operand | convertOperand (void *alloc, const TypeInfo &type) |
static nnfw_tensorinfo | convertType (const TypeInfo &type) |
Definition at line 26 of file CustomKernel.cc.
|
inlinestatic |
Definition at line 29 of file CustomKernel.cc.
References nnfw_operand::allocation, convertType(), and nnfw_operand::type.
Referenced by onert::api::CustomKernel::run().
|
inlinestatic |
Definition at line 37 of file CustomKernel.cc.
References nnfw_tensorinfo::dims, nnfw_tensorinfo::dtype, NNFW_TYPE_TENSOR_BOOL, NNFW_TYPE_TENSOR_FLOAT32, NNFW_TYPE_TENSOR_INT32, NNFW_TYPE_TENSOR_QUANT8_ASYMM, and nnfw_tensorinfo::rank.
Referenced by convertOperand().