From 44a7167e0f13dc1d703cd573f57636fde711c618 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Tue, 11 Dec 2018 13:46:52 +0000 Subject: [PATCH] Fix the ONNX parser tests issues due to a change in the latest ONNx master * A recent change in ONNX now forces the data types to be indicated by the integer corresponding to their original enum value * The new values are taken from the TensorProto_DataType enum at onnx.pb.h:153 Change-Id: I6054611795a7edb11463396eaefc4dd7e27261a0 --- src/armnnOnnxParser/test/Addition.cpp | 18 ++++---- src/armnnOnnxParser/test/BatchNorm.cpp | 44 ++++++++++---------- src/armnnOnnxParser/test/Const.cpp | 8 ++-- src/armnnOnnxParser/test/Conv2D.cpp | 28 ++++++------- src/armnnOnnxParser/test/CreateNetwork.cpp | 2 +- src/armnnOnnxParser/test/DepthConv.cpp | 8 ++-- src/armnnOnnxParser/test/FullyConnected.cpp | 60 +++++++++++++-------------- src/armnnOnnxParser/test/GetInputsOutputs.cpp | 16 +++---- src/armnnOnnxParser/test/Pooling.cpp | 16 +++---- src/armnnOnnxParser/test/ProtoxtFixture.cpp | 4 +- src/armnnOnnxParser/test/Relu.cpp | 4 +- src/armnnOnnxParser/test/Reshape.cpp | 10 ++--- 12 files changed, 109 insertions(+), 109 deletions(-) diff --git a/src/armnnOnnxParser/test/Addition.cpp b/src/armnnOnnxParser/test/Addition.cpp index 0c62fbe..993a620 100644 --- a/src/armnnOnnxParser/test/Addition.cpp +++ b/src/armnnOnnxParser/test/Addition.cpp @@ -78,7 +78,7 @@ struct AddMainFixture : public armnnUtils::ParserPrototxtFixture @@ -131,7 +131,7 @@ struct AddValidBroadcastFixture : public armnnUtils::ParserPrototxtFixture