Skip to content

Commit

Permalink
use get_tensor_expr
Browse files Browse the repository at this point in the history
Signed-off-by: Dhruva Ray <[email protected]>
  • Loading branch information
dhruvaray committed May 8, 2020
1 parent 8991398 commit 63ddd0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/tvm/relay/frontend/tflite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
)

Expand Down

0 comments on commit 63ddd0d

Please sign in to comment.