Skip to content

Commit

Permalink
Unused transformations deleted (#7428)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenya Stepyreva authored Sep 9, 2021
1 parent c33856b commit aa106ad
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 244 deletions.
2 changes: 0 additions & 2 deletions model-optimizer/automation/package_BOM.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,9 @@ extensions/back/ResultNormalizer.py
extensions/back/ResultRename.py
extensions/back/ReverseInputChannels.py
extensions/back/RNNSequenceTypeRename.py
extensions/back/ScalarConstNormalize.py
extensions/back/SelectBroadcast.py
extensions/back/ShapeOfConstFolding.py
extensions/back/ShuffleChannelPatternOptimization.py
extensions/back/ShufflenetReLUReorder.py
extensions/back/SpecialNodesFinalization.py
extensions/back/StridedSliceMasksNormalizer.py
extensions/back/TopKNormalizer.py
Expand Down
4 changes: 0 additions & 4 deletions model-optimizer/extensions/back/ReduceMerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import numpy as np

from extensions.back.ScalarConstNormalize import ScalarNormalize
from extensions.ops.ReduceOps import reduce_map
from mo.back.replacement import BackReplacementPattern
from mo.front.common.partial_infer.utils import int64_array
Expand All @@ -23,9 +22,6 @@ class ReduceMerge(BackReplacementPattern):
enabled = True
force_clean_up = True

def run_before(self):
return [ScalarNormalize]

@staticmethod
def fuse_reduces(first_reduce, second_reduce):
first_reduce_name = first_reduce.soft_get('name', first_reduce.id)
Expand Down
36 changes: 0 additions & 36 deletions model-optimizer/extensions/back/ScalarConstNormalize.py

This file was deleted.

62 changes: 0 additions & 62 deletions model-optimizer/extensions/back/ShufflenetReLUReorder.py

This file was deleted.

4 changes: 0 additions & 4 deletions model-optimizer/extensions/back/TopKNormalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# SPDX-License-Identifier: Apache-2.0

from extensions.back.Reshape0DToSqueeze import Reshape0DToSqueeze
from extensions.back.ScalarConstNormalize import ScalarNormalize
from mo.back.replacement import BackReplacementPattern
from mo.front.common.partial_infer.utils import int64_array
from mo.front.tf.graph_utils import create_op_node_with_second_input
Expand All @@ -23,9 +22,6 @@ class TopKNormalizer(BackReplacementPattern):
"""
enabled = True

def run_after(self):
return [ScalarNormalize]

def run_before(self):
return [Reshape0DToSqueeze]

Expand Down

This file was deleted.

0 comments on commit aa106ad

Please sign in to comment.