Skip to content

Commit e4d574a

Browse files
committed
style
1 parent 8510364 commit e4d574a

File tree

1 file changed

+0
-4
lines changed
  • onnxscript/function_libs/torch_lib/ops

1 file changed

+0
-4
lines changed

onnxscript/function_libs/torch_lib/ops/core.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4494,10 +4494,6 @@ def _make_range_or_cast(ind, shape_x, static_shape: bool, dim: int):
44944494
)
44954495

44964496
rk1s = [(ind is None or len(ind.shape) == 1) for ind in indices]
4497-
assert all(rk1s) and len(rk1s) == len(x.shape), (
4498-
f"input_put not implemented for indices={indices}, "
4499-
f"where rk1s={rk1s}, rank(x)={len(x.shape)}"
4500-
)
45014497
shape_x = op.Shape(x)
45024498
exped = []
45034499
fixed = []

0 commit comments

Comments
 (0)