Removing ambiguity from pack gtests (#4074)
authorDevansh Bansal/SNAP /SRI-Bangalore/Engineer/삼성전자 <b.devansh@samsung.com>
Thu, 3 Jan 2019 22:54:00 +0000 (04:24 +0530)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 3 Jan 2019 22:54:00 +0000 (07:54 +0900)
This patch rectifies the name of one of the inputs.

Signed-off-by: b.devansh <b.devansh@samsung.com>
tests/nnapi/specs/Ex/pack_ex_3D_float_1.mod.py
tests/nnapi/specs/Ex/pack_ex_3D_float_2.mod.py
tests/nnapi/specs/Ex/pack_ex_3D_int_1.mod.py
tests/nnapi/specs/Ex/pack_ex_3D_int_2.mod.py

index 2033f22..3f3ea68 100644 (file)
@@ -3,7 +3,7 @@ model = Model()
 i1 = Input("input1", "TENSOR_FLOAT32", "{2, 3, 4}")
 i2 = Input("input2", "TENSOR_FLOAT32", "{2, 3, 4}")
 i3 = Input("input3", "TENSOR_FLOAT32", "{2, 3, 4}")
-num = Int32Scalar("num", 3)
+num = Int32Scalar("num_tensors", 3)
 axis = Int32Scalar("axis", 0)
 out = Output("output", "TENSOR_FLOAT32", "{3, 2, 3, 4}")
 model = model.Operation("PACK_EX", i1, i2, i3, num, axis).To(out)
index 00c96b3..d0caa02 100644 (file)
@@ -3,7 +3,7 @@ model = Model()
 i1 = Input("input1", "TENSOR_FLOAT32", "{2, 3, 4}")
 i2 = Input("input2", "TENSOR_FLOAT32", "{2, 3, 4}")
 i3 = Input("input3", "TENSOR_FLOAT32", "{2, 3, 4}")
-num = Int32Scalar("num", 3)
+num = Int32Scalar("num_tensors", 3)
 axis = Int32Scalar("axis", 2)
 out = Output("output", "TENSOR_FLOAT32", "{2, 3, 3, 4}")
 model = model.Operation("PACK_EX", i1, i2, i3, num, axis).To(out)
index d84fb84..23b3659 100644 (file)
@@ -3,7 +3,7 @@ model = Model()
 i1 = Input("input1", "TENSOR_INT32", "{2, 3, 4}")
 i2 = Input("input2", "TENSOR_INT32", "{2, 3, 4}")
 i3 = Input("input3", "TENSOR_INT32", "{2, 3, 4}")
-num = Int32Scalar("num", 3)
+num = Int32Scalar("num_tensors", 3)
 axis = Int32Scalar("axis", 0)
 out = Output("output", "TENSOR_INT32", "{3, 2, 3, 4}")
 model = model.Operation("PACK_EX", i1, i2, i3, num, axis).To(out)
index 39a775e..747fcc6 100644 (file)
@@ -3,7 +3,7 @@ model = Model()
 i1 = Input("input1", "TENSOR_INT32", "{2, 3, 4}")
 i2 = Input("input2", "TENSOR_INT32", "{2, 3, 4}")
 i3 = Input("input3", "TENSOR_INT32", "{2, 3, 4}")
-num = Int32Scalar("num", 3)
+num = Int32Scalar("num_tensors", 3)
 axis = Int32Scalar("axis", 2)
 out = Output("output", "TENSOR_INT32", "{2, 3, 3, 4}")
 model = model.Operation("PACK_EX", i1, i2, i3, num, axis).To(out)