Skip to content

Commit 2f4c3af

Browse files
committed
wip
1 parent b448007 commit 2f4c3af

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

backends/nxp/quantizer/neutron_quantizer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
ReshapePattern,
3939
SharedSpecPattern,
4040
SigmoidPattern,
41-
SliceCopyTensorPattern,
4241
SliceTensorPattern,
4342
SoftMaxPattern,
4443
SubTensorPattern,
@@ -217,7 +216,6 @@ def __init__(self, neutron_target_spec: NeutronTargetSpec):
217216
NeutronAtenQuantizer(ReshapePattern(), static_qconfig),
218217
NeutronAtenQuantizer(SigmoidPattern(), static_qconfig),
219218
NeutronAtenQuantizer(SliceTensorPattern(), static_qconfig),
220-
NeutronAtenQuantizer(SliceCopyTensorPattern(), static_qconfig),
221219
NeutronAtenQuantizer(SoftMaxPattern(), static_qconfig),
222220
NeutronAtenQuantizer(SubTensorPattern(), static_qconfig),
223221
NeutronAtenQuantizer(TanhPattern(), static_qconfig),

backends/nxp/quantizer/patterns.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -745,15 +745,6 @@ def partition_types(self):
745745
return [torch.ops.aten.slice.Tensor]
746746

747747

748-
class SliceCopyTensorPattern(SharedSpecPattern):
749-
"""
750-
Quantizer for Slice operator.
751-
"""
752-
753-
def partition_types(self):
754-
return [torch.ops.aten.slice_copy.Tensor]
755-
756-
757748
class SoftMaxPattern(QuantizationPattern):
758749
"""
759750
Quantizer for Softmax operator.

0 commit comments

Comments
 (0)