Skip to content

Commit

Permalink
Arm backend: Add aten.relu_.default to quantization_annotator (#8567)
Browse files Browse the repository at this point in the history
* The inplace version of relu (aten.relu_.default) was missing

Signed-off-by: Tom Allsop <[email protected]>
  • Loading branch information
tom-arm authored Feb 20, 2025
1 parent 75d4abc commit 68eb62f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backends/arm/quantizer/quantization_annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def _match_pattern(
torch.ops.aten.hardtanh.default,
torch.ops.aten.hardtanh_.default,
torch.ops.aten.relu.default,
torch.ops.aten.relu_.default,
torch.ops.aten.mean.default,
torch.ops.aten.mean.dim,
torch.ops.aten.permute.default,
Expand Down

0 comments on commit 68eb62f

Please sign in to comment.