1 // 2 // Copyright © 2021 Arm Ltd and Contributors. All rights reserved. 3 // SPDX-License-Identifier: MIT 4 // 5 6 #pragma once 7 8 namespace armnnOnnxParser 9 { 10 11 /// Macro utils 12 #define STRINGIFY_VALUE(s) STRINGIFY_MACRO(s) 13 #define STRINGIFY_MACRO(s) #s 14 15 // OnnxParser version components 16 #define ONNX_PARSER_MAJOR_VERSION 24 17 #define ONNX_PARSER_MINOR_VERSION 6 18 #define ONNX_PARSER_PATCH_VERSION 0 19 20 /// ONNX_PARSER_VERSION: "X.Y.Z" 21 /// where: 22 /// X = Major version number 23 /// Y = Minor version number 24 /// Z = Patch version number 25 #define ONNX_PARSER_VERSION STRINGIFY_VALUE(ONNX_PARSER_MAJOR_VERSION) "." \ 26 STRINGIFY_VALUE(ONNX_PARSER_MINOR_VERSION) "." \ 27 STRINGIFY_VALUE(ONNX_PARSER_PATCH_VERSION) 28 29 } //namespace armnnOnnxParser