ArmNN
 24.08
OnnxParser.cpp File Reference
#include "OnnxParser.hpp"
#include "armnnOnnxParser/Version.hpp"
#include <armnn/Descriptors.hpp>
#include <armnn/utility/Assert.hpp>
#include <armnn/utility/NumericCast.hpp>
#include <ParserHelper.hpp>
#include <VerificationHelpers.hpp>
#include <fmt/format.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <iostream>
#include <numeric>
#include <armnnUtils/Permute.hpp>
Include dependency graph for OnnxParser.cpp:

Go to the source code of this file.

Namespaces

 armnnOnnxParser
 

Macros

#define CHECK_VALID_DATATYPE(NODE, TENSOR, ACTUAL, ...)   CheckValidDataType({__VA_ARGS__}, ACTUAL, #__VA_ARGS__, NODE, TENSOR, CHECK_LOCATION())
 
#define STR_LIST(...)   StrTypeListPair(#__VA_ARGS__, {__VA_ARGS__})
 
#define VALID_INPUTS(NODE, VALID_INPUTS)
 

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)
 

Macro Definition Documentation

◆ CHECK_VALID_DATATYPE

#define CHECK_VALID_DATATYPE (   NODE,
  TENSOR,
  ACTUAL,
  ... 
)    CheckValidDataType({__VA_ARGS__}, ACTUAL, #__VA_ARGS__, NODE, TENSOR, CHECK_LOCATION())

Definition at line 129 of file OnnxParser.cpp.

◆ STR_LIST

#define STR_LIST (   ...)    StrTypeListPair(#__VA_ARGS__, {__VA_ARGS__})

Definition at line 133 of file OnnxParser.cpp.

◆ VALID_INPUTS

#define VALID_INPUTS (   NODE,
  VALID_INPUTS 
)
Value:
OnnxParserImpl::ValidateInputs(NODE, \

Definition at line 511 of file OnnxParser.cpp.

VALID_INPUTS
#define VALID_INPUTS(NODE, VALID_INPUTS)
Definition: OnnxParser.cpp:511
CHECK_LOCATION
#define CHECK_LOCATION()
Definition: Exceptions.hpp:203