From e33f052f8ca299782be0503e9ec383f7b9905c40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Prasanna=20R/SNAP=20/SRI-Bangalore/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 4 Dec 2018 16:32:49 +0530 Subject: [PATCH] Replace ambiguous comments in Gather GTests (#3832) This patch replaces ambiguous comments in Gather GTests Signed-off-by: prasannar --- .../tests/neural_networks_test/specs/Ex/gather_ex_1D_int32.mod.py | 4 ++-- .../tests/neural_networks_test/specs/Ex/gather_ex_1D_quant8.mod.py | 4 ++-- .../tests/neural_networks_test/specs/Ex/gather_ex_2D_int32.mod.py | 4 ++-- .../tests/neural_networks_test/specs/Ex/gather_ex_2D_quant8.mod.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_int32.mod.py b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_int32.mod.py index 36aa029..0eefbea 100644 --- a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_int32.mod.py +++ b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_int32.mod.py @@ -1,9 +1,9 @@ # model model = Model() -i1 = Input("op1", "TENSOR_INT32", "{4}") # a vector of 2 float32s +i1 = Input("op1", "TENSOR_INT32", "{4}") # a vector of 4 int32s i2 = Input("op2", "TENSOR_INT32", "{2}") # another vector of 2 int32s axis = Int32Scalar("axis", 0) -i3 = Output("op3", "TENSOR_INT32", "{2}") +i3 = Output("op3", "TENSOR_INT32", "{2}") # a vector of 2 int32s model = model.Operation("GATHER_EX", i1, i2, axis).To(i3) # Example 1. Input in operand 0, diff --git a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_quant8.mod.py b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_quant8.mod.py index 7e8bfb0..f327616 100644 --- a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_quant8.mod.py +++ b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_quant8.mod.py @@ -1,9 +1,9 @@ # model model = Model() -i1 = Input("op1", "TENSOR_QUANT8_ASYMM", "{4}, 0.5f, 1") # a vector of 2 float32s +i1 = Input("op1", "TENSOR_QUANT8_ASYMM", "{4}, 0.5f, 1") # a vector of 4 qasymm8s i2 = Input("op2", "TENSOR_INT32", "{2}") # another vector of 2 int32s axis = Int32Scalar("axis", 0) -i3 = Output("op3", "TENSOR_QUANT8_ASYMM", "{2}, 0.5f, 1") +i3 = Output("op3", "TENSOR_QUANT8_ASYMM", "{2}, 0.5f, 1") # another vector of 2 qasymm8s model = model.Operation("GATHER_EX", i1, i2, axis).To(i3) # Example 1. Input in operand 0, diff --git a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_int32.mod.py b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_int32.mod.py index 357367b..357efd0 100644 --- a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_int32.mod.py +++ b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_int32.mod.py @@ -1,9 +1,9 @@ # model model = Model() -i1 = Input("op1", "TENSOR_INT32", "{3,4}") # a vector of 2 float32s +i1 = Input("op1", "TENSOR_INT32", "{3,4}") # a vector of 12 int32s i2 = Input("op2", "TENSOR_INT32", "{2}") # another vector of 2 int32s axis = Int32Scalar("axis", 0) -i3 = Output("op3", "TENSOR_INT32", "{2,4}") +i3 = Output("op3", "TENSOR_INT32", "{2,4}") # a vector of 8 int32s model = model.Operation("GATHER_EX", i1, i2, axis).To(i3) # Example 1. Input in operand 0, diff --git a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_quant8.mod.py b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_quant8.mod.py index 7e07d04..8e4eb04 100644 --- a/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_quant8.mod.py +++ b/runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_quant8.mod.py @@ -1,9 +1,9 @@ # model model = Model() -i1 = Input("op1", "TENSOR_QUANT8_ASYMM", "{3,4}, 0.5f, 1") # a vector of 2 float32s +i1 = Input("op1", "TENSOR_QUANT8_ASYMM", "{3,4}, 0.5f, 1") # a vector of 12 qasymm8s i2 = Input("op2", "TENSOR_INT32", "{2}") # another vector of 2 int32s axis = Int32Scalar("axis", 0) -i3 = Output("op3", "TENSOR_QUANT8_ASYMM", "{2,4}, 0.5f, 1") +i3 = Output("op3", "TENSOR_QUANT8_ASYMM", "{2,4}, 0.5f, 1") # a vector of 8 qasymm8s model = model.Operation("GATHER_EX", i1, i2, axis).To(i3) # Example 1. Input in operand 0, -- 2.7.4