Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backends/xnnpack/quantizer/xnnpack_quantizer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,9 @@ def _is_share_obs_or_fq_op(op: Callable) -> bool:
torch.ops.aten.view.default,
torch.ops.aten.slice_copy.Tensor,
torch.ops.aten.flatten.using_ints,
torch.ops.aten.slice.Tensor,
torch.ops.aten.select.int,
Copy link
Contributor

@mcr229 mcr229 Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you need all of these? I think slice.Tensor should be sufficient right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, i am not sure. May just torch.ops.aten.slice.Tensor

torch.ops.aten.index_select.default,
]


Expand Down