Correction in the commnets in gtest filees (#3834)
authorShubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 <shub98.gupta@samsung.com>
Tue, 4 Dec 2018 11:03:52 +0000 (16:33 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 4 Dec 2018 11:03:52 +0000 (20:03 +0900)
This patch will correct the commnets for number of values for input
and output in the gtests.

Signed-off-by: shubham <shub98.gupta@samsung.com>
runtimes/tests/neural_networks_test/specs/Ex/exp_ex_1D_float.mod.py
runtimes/tests/neural_networks_test/specs/Ex/exp_ex_2D_float.mod.py
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_1D_float.mod.py
runtimes/tests/neural_networks_test/specs/Ex/gather_ex_2D_float.mod.py

index 74c9c92..1979b0a 100644 (file)
@@ -1,7 +1,7 @@
 # model
 model = Model()
-i1 = Input("op1", "TENSOR_FLOAT32", "{4}") # a vector of input
-i2 = Output("op2", "TENSOR_FLOAT32", "{4}") # a vector of output
+i1 = Input("op1", "TENSOR_FLOAT32", "{4}") # a vector of 4 float32s
+i2 = Output("op2", "TENSOR_FLOAT32", "{4}") # a vector of 4 float32s
 model = model.Operation("EXP_EX", i1).To(i2)
 
 # Example 1. Input in operand 0,
index 663d07d..a79ca9a 100644 (file)
@@ -1,7 +1,7 @@
 # model
 model = Model()
-i1 = Input("op1", "TENSOR_FLOAT32", "{3,4}") # a vector of 2 float32s
-i2 = Output("op2", "TENSOR_FLOAT32", "{3,4}")
+i1 = Input("op1", "TENSOR_FLOAT32", "{3,4}") # a vector of 12 float32s
+i2 = Output("op2", "TENSOR_FLOAT32", "{3,4}") # a vector of 12 float32s
 model = model.Operation("EXP_EX", i1).To(i2)
 
 # Example 1. Input in operand 0,
index 228a52a..eed3bf9 100644 (file)
@@ -1,9 +1,9 @@
 # model
 model = Model()
-i1 = Input("op1", "TENSOR_FLOAT32", "{4}") # a vector of 2 float32s
+i1 = Input("op1", "TENSOR_FLOAT32", "{4}") # a vector of 4 float32s
 i2 = Input("op2", "TENSOR_INT32", "{2}") # another vector of 2 int32s
 axis = Int32Scalar("axis", 0)
-i3 = Output("op3", "TENSOR_FLOAT32", "{2}")
+i3 = Output("op3", "TENSOR_FLOAT32", "{2}") # a vector of 2 float32s
 model = model.Operation("GATHER_EX", i1, i2, axis).To(i3)
 
 # Example 1. Input in operand 0,
index 5f678c6..52f7bf1 100644 (file)
@@ -1,9 +1,9 @@
 # model
 model = Model()
-i1 = Input("op1", "TENSOR_FLOAT32", "{3,4}") # a vector of 2 float32s
+i1 = Input("op1", "TENSOR_FLOAT32", "{3,4}") # a vector of 12 float32s
 i2 = Input("op2", "TENSOR_INT32", "{2}") # another vector of 2 int32s
 axis = Int32Scalar("axis", 0)
-i3 = Output("op3", "TENSOR_FLOAT32", "{2,4}")
+i3 = Output("op3", "TENSOR_FLOAT32", "{2,4}") # a vector of 8 float32s
 model = model.Operation("GATHER_EX", i1, i2, axis).To(i3)
 
 # Example 1. Input in operand 0,