Replace ambiguous comments in Gather GTests (#3832)
authorPrasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 <prasanna.r@samsung.com>
Tue, 4 Dec 2018 11:02:49 +0000 (16:32 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 4 Dec 2018 11:02:49 +0000 (20:02 +0900)
This patch replaces ambiguous comments in Gather GTests

Signed-off-by: prasannar <prasanna.r@samsung.com>
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_int32.mod.py
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_quant8.mod.py
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_int32.mod.py
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_quant8.mod.py

index 36aa029..0eefbea 100644 (file)
@@ -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,
index 7e8bfb0..f327616 100644 (file)
@@ -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,
index 357367b..357efd0 100644 (file)
@@ -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,
index 7e07d04..8e4eb04 100644 (file)
@@ -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,