ONE - On-device Neural Engine
|
feature::Shape morph::nnapi::as_feature_shape | ( | const nncc::core::ADT::tensor::Shape & | shape | ) |
Definition at line 54 of file nnapi.cpp.
References nncc::core::ADT::tensor::Shape::dim(), and nncc::core::ADT::tensor::Shape::rank().
kernel::Shape morph::nnapi::as_kernel_shape | ( | const nncc::core::ADT::tensor::Shape & | shape | ) |
Definition at line 61 of file nnapi.cpp.
References nncc::core::ADT::tensor::Shape::dim(), and nncc::core::ADT::tensor::Shape::rank().
tensor::Shape morph::nnapi::as_tensor_shape | ( | const nncc::core::ADT::feature::Shape & | shape | ) |
Definition at line 28 of file nnapi.cpp.
References nncc::core::ADT::feature::Shape::depth(), nncc::core::ADT::tensor::Shape::dim(), nncc::core::ADT::feature::Shape::height(), nncc::core::ADT::tensor::Shape::resize(), and nncc::core::ADT::feature::Shape::width().
Referenced by ANNBinder::addOperand(), and ANNBinder::addOperand().
tensor::Shape morph::nnapi::as_tensor_shape | ( | const nncc::core::ADT::kernel::Shape & | shape | ) |
Definition at line 41 of file nnapi.cpp.
References nncc::core::ADT::kernel::Shape::count(), nncc::core::ADT::kernel::Shape::depth(), nncc::core::ADT::tensor::Shape::dim(), nncc::core::ADT::kernel::Shape::height(), nncc::core::ADT::tensor::Shape::resize(), and nncc::core::ADT::kernel::Shape::width().