Skip to content

Commit

Permalink
Revert "[OpenVINO] Add Slice metatype (#2847)"
Browse files Browse the repository at this point in the history
This reverts commit f5aa90f.
  • Loading branch information
KodiaqQ authored Aug 22, 2024
1 parent 6e05cf9 commit 60c96b4
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion nncf/common/hardware/configs/cpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@
{"type": "Transpose"},
{"type": "Tile"},
{"type": "StridedSlice"},
{"type": "Slice"},
{"type": "ShuffleChannels"},
{"type": "Broadcast"},
{"type": "Pad"},
Expand Down
3 changes: 1 addition & 2 deletions nncf/common/hardware/configs/gpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@
{"type": "Crop"},
{"type": "Transpose"},
{"type": "Tile"},
{"type": "StridedSlice"},
{"type": "Slice"}
{"type": "StridedSlice"}
]
}
1 change: 0 additions & 1 deletion nncf/common/hardware/configs/npu.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@
{"type": "Transpose"},
{"type": "Tile"},
{"type": "StridedSlice"},
{"type": "Slice"},
{"type": "ShuffleChannels"},
{"type": "Broadcast"},
{"type": "Pad"},
Expand Down
1 change: 0 additions & 1 deletion nncf/common/hardware/opset.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class HWConfigOpName:
EMBEDDINGBAG = "EmbeddingBag"
PAD = "Pad"
STRIDEDSLICE = "StridedSlice"
SLICE = "Slice"
GELU = "Gelu"
LSTMSEQUENCE = "LSTMSequence"
GRUSEQUENCE = "GRUSequence"
Expand Down
1 change: 0 additions & 1 deletion nncf/openvino/graph/metatypes/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
ov_metatypes.OVTransposeMetatype,
ov_metatypes.OVTileMetatype,
ov_metatypes.OVStridedSliceMetatype,
ov_metatypes.OVSliceMetatype,
ov_metatypes.OVShuffleChannelsMetatype,
ov_metatypes.OVBroadcastMetatype,
ov_metatypes.OVPadMetatype,
Expand Down
7 changes: 0 additions & 7 deletions nncf/openvino/graph/metatypes/openvino_metatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,13 +565,6 @@ class OVStridedSliceMetatype(OVOpMetatype):
hw_config_names = [HWConfigOpName.STRIDEDSLICE]


@OV_OPERATOR_METATYPES.register()
class OVSliceMetatype(OVOpMetatype):
name = "SliceOp"
op_names = ["Slice"]
hw_config_names = [HWConfigOpName.SLICE]


@OV_OPERATOR_METATYPES.register()
class OVExpMetatype(OVOpMetatype):
name = "ExpOp"
Expand Down

0 comments on commit 60c96b4

Please sign in to comment.