ArmNN
 21.02
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 <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>

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)
 

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 95 of file OnnxParser.cpp.

Referenced by OnnxParserImpl::CreateNetworkFromString().

◆ STR_LIST

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

Definition at line 99 of file OnnxParser.cpp.

Referenced by OnnxParserImpl::CreateNetworkFromString().

◆ VALID_INPUTS

#define VALID_INPUTS (   NODE,
  VALID_INPUTS 
)
Value:
OnnxParserImpl::ValidateInputs(NODE, \
#define VALID_INPUTS(NODE, VALID_INPUTS)
Definition: OnnxParser.cpp:447
#define CHECK_LOCATION()
Definition: Exceptions.hpp:197

Definition at line 447 of file OnnxParser.cpp.

Referenced by OnnxParserImpl::CreateNetworkFromString().