Skip to content

Commit

Permalink
add torch view as reshape operator (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
itai-berman authored Mar 4, 2025
1 parent 51be057 commit a6a4dd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self):
OperatorSetNames.HARDSWISH: [Hardswish, hardswish],
OperatorSetNames.FLATTEN: [Flatten, flatten],
OperatorSetNames.GET_ITEM: [operator.getitem],
OperatorSetNames.RESHAPE: [reshape],
OperatorSetNames.RESHAPE: [reshape, torch.Tensor.view],
OperatorSetNames.UNSQUEEZE: [unsqueeze],
OperatorSetNames.SQUEEZE: [squeeze],
OperatorSetNames.PERMUTE: [permute],
Expand Down

0 comments on commit a6a4dd8

Please sign in to comment.