ArmNN
 20.08
OnnxParser.cpp File Reference
#include "OnnxParser.hpp"
#include <armnn/Descriptors.hpp>
#include <armnn/utility/Assert.hpp>
#include <VerificationHelpers.hpp>
#include <boost/format.hpp>
#include <boost/numeric/conversion/cast.hpp>
#include <google/protobuf/text_format.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#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 48 of file OnnxParser.cpp.

Referenced by OnnxParser::CreateNetworkFromString().

◆ STR_LIST

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

Definition at line 52 of file OnnxParser.cpp.

Referenced by OnnxParser::CreateNetworkFromString().

◆ VALID_INPUTS

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

Definition at line 397 of file OnnxParser.cpp.

Referenced by OnnxParser::CreateNetworkFromString().