From cc61be36c3b0f5cd1ea719e129a54fd48a6ee9a2 Mon Sep 17 00:00:00 2001 From: Kevin Cheng Date: Thu, 14 Oct 2021 17:09:57 -0700 Subject: More ERROR_IF supports - Also delay tensor allocation after operator being validated ERROR_IF can be caught first before 0 or negative dimension set the graph_status to UNPREDICTABLE - Rescale, Argmax, FullyConnected, Matmul, Pad, Reshape, Slice, Transpose, Clamp, Concat, Equal, Greater, GreaterEqual, Table Signed-off-by: Kevin Cheng Change-Id: I4e1b3e5794fe195ce1a37e28443ae584645a3b91 --- reference_model/src/ops/data_layout.h | 1 + 1 file changed, 1 insertion(+) (limited to 'reference_model/src/ops/data_layout.h') diff --git a/reference_model/src/ops/data_layout.h b/reference_model/src/ops/data_layout.h index c9c2602..9f44fc7 100644 --- a/reference_model/src/ops/data_layout.h +++ b/reference_model/src/ops/data_layout.h @@ -63,6 +63,7 @@ protected: Eigen::array, Rank> paddings_array; TosaReference::TensorTemplate* in; TosaReference::TensorTemplate* out; + TosaReference::TensorTemplate>* paddings; TosaPadQuantInfo* qinfo; }; -- cgit v1.2.1