Skip to content

Commit 72333b0

Browse files
Remove IR optimization in move_relu_before_concat.py
1 parent 4675292 commit 72333b0

File tree

2 files changed

+0
-115
lines changed

2 files changed

+0
-115
lines changed

backends/nxp/backend/ir/tflite_optimizer/optimizations/move_relu_before_concat.py

Lines changed: 0 additions & 107 deletions
This file was deleted.

backends/nxp/backend/ir/tflite_optimizer/optimizer.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
from executorch.backends.nxp.backend.ir import logger
1313
from executorch.backends.nxp.backend.ir.conversion_config import ConversionConfig
14-
from executorch.backends.nxp.backend.ir.tflite_optimizer.optimizations.move_relu_before_concat import (
15-
MoveActivationBeforeConcatenation,
16-
)
1714
from executorch.backends.nxp.backend.ir.tflite_optimizer.optimizations.permute_fully_connected_weights_after_reshape import (
1815
PermuteFullyConnectedWeightsAfterReshape,
1916
)
@@ -29,8 +26,6 @@ class Optimization(Enum):
2926

3027
PERMUTE_FULLY_CONNECTED_WEIGHTS_AFTER_RESHAPE = 12
3128

32-
MOVE_ACTIVATION_BEFORE_CONCAT = 15
33-
3429

3530
class Optimizer:
3631
"""
@@ -68,9 +63,6 @@ def __init__(
6863
Optimization.PERMUTE_FULLY_CONNECTED_WEIGHTS_AFTER_RESHAPE: PermuteFullyConnectedWeightsAfterReshape(
6964
builder, conversion_config
7065
),
71-
Optimization.MOVE_ACTIVATION_BEFORE_CONCAT: MoveActivationBeforeConcatenation(
72-
builder, conversion_config
73-
),
7466
}
7567

7668
def optimize(

0 commit comments

Comments
 (0)