From 63ddd0d0c890b2d9bc04b7eeaa58ef2cf75be24d Mon Sep 17 00:00:00 2001 From: Dhruva Ray Date: Fri, 8 May 2020 15:30:51 +0530 Subject: [PATCH] use get_tensor_expr Signed-off-by: Dhruva Ray --- python/tvm/relay/frontend/tflite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/tvm/relay/frontend/tflite.py b/python/tvm/relay/frontend/tflite.py index 37a31bc519985..f436e2b059caa 100644 --- a/python/tvm/relay/frontend/tflite.py +++ b/python/tvm/relay/frontend/tflite.py @@ -2261,9 +2261,9 @@ def convert_sparse_to_dense(self, op): assert t_type in (TensorType.INT32, TensorType.INT64) out = _op.sparse_to_dense( - self.get_expr(indices.tensor_idx), - self.get_expr(values.tensor_idx), - self.get_expr(default_value.tensor_idx), + self.get_tensor_expr(indices), + self.get_tensor_expr(values), + self.get_tensor_expr(default_value), list(self.get_tensor_value(output_shape)) )