From b5fabec33abeca2d92c20c7b094fa3f113d0ddd8 Mon Sep 17 00:00:00 2001 From: Eric Kunze Date: Tue, 7 Jun 2022 05:20:44 +0000 Subject: 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 Change-Id: Icf6165687ab1fd34a01f64c01b0b92b2820e72fa --- reference_model/src/graph_node.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'reference_model/src/graph_node.h') 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(qinfo_)) \ - { \ - qinfo = new Tosa##QINFO_NAME##QuantInfo(p); \ - ASSERT_MEM(qinfo); \ - } \ - else \ - { \ - qinfo = nullptr; \ - } - namespace TosaReference { -- cgit v1.2.1