Skip to content

Commit

Permalink
modify assert
Browse files Browse the repository at this point in the history
  • Loading branch information
zxy844288792 committed Jul 23, 2021
1 parent 0e1281a commit c53b599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/tensorflow2.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def _convert_operator(self, graph, op_name, node_name, inputs, attrs):
)
elif op_name in _convert_map_common:
# assert op are exclusive
assert (not set(_convert_map_common.keys()) & set(_convert_map_tf2.keys())) == True
assert not set(_convert_map_common.keys()) & set(_convert_map_tf2.keys())
if _need_prelude_for_shape_inference(op_name):
sym = _convert_map_common[op_name](inputs, attrs, self._params, self._prelude)
else:
Expand Down

0 comments on commit c53b599

Please sign in to comment.