From 2ce5277f75a67f601b7ed291114174c29ddb5b77 Mon Sep 17 00:00:00 2001
From: ziheng <ziheng@apache.org>
Date: Sun, 11 Jun 2017 22:34:39 -0700
Subject: [PATCH] [TUTORIAL] Update tvm.make.Select to tvm.select (#177)

---
 tutorials/python/tuple_inputs_operation.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tutorials/python/tuple_inputs_operation.py b/tutorials/python/tuple_inputs_operation.py
index 8c101a59e..eaccd6f1f 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
-- 
GitLab