diff --git a/tutorials/python/tuple_inputs_operation.py b/tutorials/python/tuple_inputs_operation.py index 8c101a59e86e2f04c97b43a68c00fa5f258e719e..eaccd6f1f2224da4ffadb0f0776e506dc6c36058 100644 --- a/tutorials/python/tuple_inputs_operation.py +++ b/tutorials/python/tuple_inputs_operation.py @@ -45,8 +45,8 @@ print(tvm.lower(s, [A0, A1, B0, B1], simple_mode=True)) # x and y are the operands of reduction, both of them is a tuple of index # and value. def fcombine(x, y): - lhs = tvm.make.Select((x[1] >= y[1]), x[0], y[0]) - rhs = tvm.make.Select((x[1] >= y[1]), x[1], y[1]) + lhs = tvm.select((x[1] >= y[1]), x[0], y[0]) + rhs = tvm.select((x[1] >= y[1]), x[1], y[1]) return lhs, rhs # our identity element also need to be a tuple, so `fidentity` accepts