2929from executorch .backends .nxp .backend .ir .tflite_optimizer .optimizations .permute_fully_connected_weights_after_reshape import (
3030 PermuteFullyConnectedWeightsAfterReshape ,
3131)
32- from executorch .backends .nxp .backend .ir .tflite_optimizer .optimizations .prune_quantize_operators import (
33- FuseParallelQuantizeOperators ,
34- PruneQuantizeOperators ,
35- )
3632from executorch .backends .nxp .backend .ir .tflite_optimizer .optimizations .prune_transpose_operators import (
3733 FuseTransposeOperators ,
3834 RemoveIdentityTransposeOperators ,
@@ -50,9 +46,6 @@ class Optimization(Enum):
5046 FUSE_TRANSPOSE_OPERATORS = 5
5147 REMOVE_IDENTITY_TRANSPOSE_OPERATORS = 6
5248
53- PRUNE_QUANTIZE_OPERATORS = 7
54- FUSE_PARALLEL_QUANTIZE_OPERATORS = 8
55-
5649 REMOVE_UNUSED_TENSORS = 10
5750 PERMUTE_FULLY_CONNECTED_WEIGHTS_AFTER_RESHAPE = 12
5851
@@ -102,12 +95,6 @@ def __init__(
10295 Optimization .REMOVE_IDENTITY_TRANSPOSE_OPERATORS : RemoveIdentityTransposeOperators (
10396 builder , conversion_config
10497 ),
105- Optimization .PRUNE_QUANTIZE_OPERATORS : PruneQuantizeOperators (
106- builder , conversion_config
107- ),
108- Optimization .FUSE_PARALLEL_QUANTIZE_OPERATORS : FuseParallelQuantizeOperators (
109- builder , conversion_config
110- ),
11198 Optimization .REMOVE_UNUSED_TENSORS : RemoveUnusedTensorsAndBuffers (
11299 builder , conversion_config
113100 ),
0 commit comments