Skip to content

Commit

Permalink
Fix TFLite RESHAPE assert
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanmukh committed Nov 12, 2019
1 parent 03a29da commit 4dc155e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/tflite.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def convert_reshape(self, op):

assert isinstance(op, Operator)
input_tensors = self.get_input_tensors(op)
assert len(input_tensors) == 2, "input tensors length should be 2"
assert len(input_tensors) in [1, 2], "input tensors length should be 1 or 2"
input_tensor = input_tensors[0]
input_tensor_idx = input_tensor.tensor_idx

Expand Down

0 comments on commit 4dc155e

Please sign in to comment.