aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/graph_node.h
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2022-06-07 05:20:44 +0000
committerEric Kunze <eric.kunze@arm.com>2022-06-15 11:38:04 -0700
commitb5fabec33abeca2d92c20c7b094fa3f113d0ddd8 (patch)
tree9c7d946012c7a70a7fcb237daa4376d7b65c6f76 /reference_model/src/graph_node.h
parent24594f55ee3bf0e95c764e51b94c3ec7f9cfa54a (diff)
downloadreference_model-b5fabec33abeca2d92c20c7b094fa3f113d0ddd8.tar.gz
Remove quantization info from serialization attributes
Any needed information moves into the attributes for each operator. New serialization library version removes teh quantization information attributes from the schema Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Icf6165687ab1fd34a01f64c01b0b92b2820e72fa
Diffstat (limited to 'reference_model/src/graph_node.h')
-rw-r--r--reference_model/src/graph_node.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/reference_model/src/graph_node.h b/reference_model/src/graph_node.h
index 14a8acc..787e89d 100644
--- a/reference_model/src/graph_node.h
+++ b/reference_model/src/graph_node.h
@@ -17,7 +17,6 @@
#define GRAPH_NODE_H
#include "attribute.h"
-#include "quant_info.h"
#include "subgraph_traverser.h"
#include "tensor.h"
#include "tosa_generated.h"
@@ -126,17 +125,6 @@
FATAL_ERROR("Can't initialize Tosa" #ATTRIBUTE_NAME "Attribute"); \
}
-#define INIT_QINFO(QINFO_NAME) \
- if (auto p = dynamic_cast<Tosa##QINFO_NAME##QuantInfo*>(qinfo_)) \
- { \
- qinfo = new Tosa##QINFO_NAME##QuantInfo(p); \
- ASSERT_MEM(qinfo); \
- } \
- else \
- { \
- qinfo = nullptr; \
- }
-
namespace TosaReference
{