24.02
|
Classes | |
class | IOnnxParser |
class | OnnxParserImpl |
Typedefs | |
using | BindingPointInfo = armnn::BindingPointInfo |
using | IOnnxParserPtr = std::unique_ptr< IOnnxParser, void(*)(IOnnxParser *parser)> |
using | ModelPtr = std::unique_ptr< onnx::ModelProto > |
Functions | |
template<typename T > | |
std::pair< armnn::ConstTensor, std::unique_ptr< T[]> > | CreateConstTensorImpl (const T *bufferPtr, armnn::TensorInfo &tensorInfo, const armnn::Optional< armnn::PermutationVector & > permutationVector) |
Definition at line 17 of file IOnnxParser.hpp.
using IOnnxParserPtr = std::unique_ptr<IOnnxParser, void(*)(IOnnxParser* parser)> |
Definition at line 21 of file IOnnxParser.hpp.
using ModelPtr = std::unique_ptr<onnx::ModelProto> |
Definition at line 23 of file OnnxParser.hpp.
std::pair<armnn::ConstTensor, std::unique_ptr<T[]> > armnnOnnxParser::CreateConstTensorImpl | ( | const T * | bufferPtr, |
armnn::TensorInfo & | tensorInfo, | ||
const armnn::Optional< armnn::PermutationVector & > | permutationVector | ||
) |
Definition at line 602 of file OnnxParser.cpp.
References CHECK_LOCATION, TensorInfo::GetNumBytes(), TensorInfo::GetNumElements(), TensorInfo::GetShape(), PermutationVector::GetSize(), OptionalBase::has_value(), armnnUtils::Permute(), armnnUtils::Permuted(), and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().