-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TransposeSinking refactoring: part 2 (class names, folders, file name…
…s) (#16291) * Add descriptions to the transformations, add additional checks * fix a warning * TransposeSinking Rafactoring part2: move the transformations to a separate folder, align namespaces * TransposeSinking refactoring: class names, namespaces * codestyle * resolve merge conflicts
- Loading branch information
Showing
39 changed files
with
720 additions
and
691 deletions.
There are no files selected for viewing
40 changes: 0 additions & 40 deletions
40
...transformations/include/transformations/common_optimizations/transpose_sinking_binary.hpp
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...transformations/include/transformations/common_optimizations/transpose_sinking_concat.hpp
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
...rmations/include/transformations/common_optimizations/transpose_sinking_data_movement.hpp
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
...ransformations/include/transformations/common_optimizations/transpose_sinking_general.hpp
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...formations/include/transformations/common_optimizations/transpose_sinking_interpolate.hpp
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
.../transformations/include/transformations/common_optimizations/transpose_sinking_split.hpp
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
.../transformations/include/transformations/common_optimizations/transpose_sinking_unary.hpp
This file was deleted.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Copyright (C) 2022-2023 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#pragma once | ||
|
||
#include "openvino/pass/graph_rewrite.hpp" | ||
#include "openvino/pass/pass.hpp" | ||
#include "transformations_visibility.hpp" | ||
|
||
namespace ov { | ||
namespace pass { | ||
namespace transpose_sinking { | ||
|
||
class TRANSFORMATIONS_API TSBinaryForward; | ||
class TRANSFORMATIONS_API TSBinaryBackward; | ||
|
||
} // namespace transpose_sinking | ||
} // namespace pass | ||
} // namespace ov | ||
|
||
/** | ||
* @ingroup ie_transformation_common_api | ||
* @brief TSBinaryForward transformation sinks Transpose through BinaryElementwiseArithmetic, | ||
* BinaryElementwiseComparison, BinaryElementwiseLogical and PRelu operations in the forward direction. | ||
*/ | ||
class ov::pass::transpose_sinking::TSBinaryForward : public ov::pass::MatcherPass { | ||
public: | ||
OPENVINO_RTTI("ov::pass::TSBinaryForward", "0"); | ||
TSBinaryForward(); | ||
}; | ||
|
||
/** | ||
* @ingroup ie_transformation_common_api | ||
* @brief TSBinaryBackward transformation sinks Transpose through BinaryElementwiseArithmetic, | ||
* BinaryElementwiseComparison, BinaryElementwiseLogical and PRelu operations in the backward direction. | ||
*/ | ||
class ov::pass::transpose_sinking::TSBinaryBackward : public ov::pass::MatcherPass { | ||
public: | ||
OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0"); | ||
TSBinaryBackward(); | ||
}; |
42 changes: 42 additions & 0 deletions
42
src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Copyright (C) 2022-2023 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#pragma once | ||
|
||
#include "openvino/pass/graph_rewrite.hpp" | ||
#include "openvino/pass/pass.hpp" | ||
#include "transformations_visibility.hpp" | ||
|
||
namespace ov { | ||
namespace pass { | ||
namespace transpose_sinking { | ||
|
||
class TRANSFORMATIONS_API TSConcatForward; | ||
class TRANSFORMATIONS_API TSConcatBackward; | ||
|
||
} // namespace transpose_sinking | ||
} // namespace pass | ||
} // namespace ov | ||
|
||
/** | ||
* @ingroup ie_transformation_common_api | ||
* @brief TSConcatForward transformation sinks Transpose through Concat operation | ||
* in the forward direction. | ||
*/ | ||
class ov::pass::transpose_sinking::TSConcatForward : public ov::pass::MatcherPass { | ||
public: | ||
OPENVINO_RTTI("ov::pass::TSConcatForward", "0"); | ||
TSConcatForward(); | ||
}; | ||
|
||
/** | ||
* @ingroup ie_transformation_common_api | ||
* @brief TSConcatBackward transformation sinks Transpose through Concat operation | ||
* in the backward direction. | ||
*/ | ||
class ov::pass::transpose_sinking::TSConcatBackward : public ov::pass::MatcherPass { | ||
public: | ||
OPENVINO_RTTI("ov::pass::TSConcatBackward", "0"); | ||
TSConcatBackward(); | ||
}; |
Oops, something went wrong.