Skip to content

Commit

Permalink
isinstance fix
Browse files Browse the repository at this point in the history
Change-Id: Ib3495532f6e4feb5aae3d3096cedd4dc4676cdb4
  • Loading branch information
mbaret committed Apr 29, 2020
1 parent 7f28248 commit 9567256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/qnn/op/qnn.py
Expand Up @@ -180,7 +180,7 @@ def concatenate(data,
The concatenated quantized tensor.
"""

if isinstance(data, list) or isinstance(data, tuple):
if isinstance(data, (list, tuple)):
data = Tuple(data)
if isinstance(data, TupleWrapper):
data = data.tuple_value
Expand Down

0 comments on commit 9567256

Please sign in to comment.