# 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,
# 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,
# 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,
# 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,