Skip to content

Commit 5035558

Browse files
committed
revert some change in decompose_util
1 parent e4920be commit 5035558

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

graph_net/torch/decompose_util.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -254,15 +254,7 @@ def get_args_node(arg):
254254
pass
255255
else:
256256
assert isinstance(
257-
arg,
258-
(
259-
int,
260-
bool,
261-
float,
262-
str,
263-
type(...),
264-
type(None),
265-
),
257+
arg, (int, bool, float, str, type(...), type(None))
266258
), f"{type(arg)=}"
267259

268260
def get_args_node_and_self_node(node):

0 commit comments

Comments
 (0)