From 8e4f5509596a82e9f57f85463fc628eeba3fce4a Mon Sep 17 00:00:00 2001 From: wangshuide2020 <7511764+wangshuide2020@user.noreply.gitee.com> Date: Wed, 23 Sep 2020 15:18:01 +0800 Subject: [PATCH] fix the problem of the duplication file. --- mindinsight/common/__init__.py | 1 + mindinsight/datavisual/__init__.py | 1 + mindinsight/debugger/common/__init__.py | 1 + .../graph_based_converter/mapper/impl/nn/__init__.py | 2 +- .../graph_based_converter/mapper/impl/ops/__init__.py | 2 +- tests/ut/backend/profiler/__init__.py | 1 + tests/ut/mindconverter/graph_based_converter/__init__.py | 1 + .../graph_based_converter/hierarchical_tree/__init__.py | 1 + tests/ut/profiler/proposer/__init__.py | 1 + tests/utils/mindspore/train/__init__.py | 1 + 10 files changed, 10 insertions(+), 2 deletions(-) diff --git a/mindinsight/common/__init__.py b/mindinsight/common/__init__.py index 47b43a6e..34b24025 100644 --- a/mindinsight/common/__init__.py +++ b/mindinsight/common/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ +"""Common function for mindinsight.""" diff --git a/mindinsight/datavisual/__init__.py b/mindinsight/datavisual/__init__.py index 0809f353..d87483a1 100644 --- a/mindinsight/datavisual/__init__.py +++ b/mindinsight/datavisual/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ +"""Provide data visualization function.""" diff --git a/mindinsight/debugger/common/__init__.py b/mindinsight/debugger/common/__init__.py index e3077430..37d8debb 100644 --- a/mindinsight/debugger/common/__init__.py +++ b/mindinsight/debugger/common/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ +"""Common function for debugger.""" diff --git a/mindinsight/mindconverter/graph_based_converter/mapper/impl/nn/__init__.py b/mindinsight/mindconverter/graph_based_converter/mapper/impl/nn/__init__.py index b444b56b..37537c84 100644 --- a/mindinsight/mindconverter/graph_based_converter/mapper/impl/nn/__init__.py +++ b/mindinsight/mindconverter/graph_based_converter/mapper/impl/nn/__init__.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== -"""Implemented mapper.""" +"""Mapper implementation for nn.""" diff --git a/mindinsight/mindconverter/graph_based_converter/mapper/impl/ops/__init__.py b/mindinsight/mindconverter/graph_based_converter/mapper/impl/ops/__init__.py index b444b56b..8c069679 100644 --- a/mindinsight/mindconverter/graph_based_converter/mapper/impl/ops/__init__.py +++ b/mindinsight/mindconverter/graph_based_converter/mapper/impl/ops/__init__.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== -"""Implemented mapper.""" +"""Mapper implementation for ops.""" diff --git a/tests/ut/backend/profiler/__init__.py b/tests/ut/backend/profiler/__init__.py index 47b43a6e..b6521896 100644 --- a/tests/ut/backend/profiler/__init__.py +++ b/tests/ut/backend/profiler/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ +"""Unit test for profiler restful api.""" diff --git a/tests/ut/mindconverter/graph_based_converter/__init__.py b/tests/ut/mindconverter/graph_based_converter/__init__.py index b5be1110..bd48d92a 100644 --- a/tests/ut/mindconverter/graph_based_converter/__init__.py +++ b/tests/ut/mindconverter/graph_based_converter/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== +"""Unit test for mindconvert.graph_based_converter interface.""" diff --git a/tests/ut/mindconverter/graph_based_converter/hierarchical_tree/__init__.py b/tests/ut/mindconverter/graph_based_converter/hierarchical_tree/__init__.py index b5be1110..60898242 100644 --- a/tests/ut/mindconverter/graph_based_converter/hierarchical_tree/__init__.py +++ b/tests/ut/mindconverter/graph_based_converter/hierarchical_tree/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== +"""Unit test for mindconvert.graph_based_converter.hierarchical_tree interface.""" diff --git a/tests/ut/profiler/proposer/__init__.py b/tests/ut/profiler/proposer/__init__.py index e3077430..5c171fe9 100644 --- a/tests/ut/profiler/proposer/__init__.py +++ b/tests/ut/profiler/proposer/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ +"""Unit test for profiler.proposer interface.""" diff --git a/tests/utils/mindspore/train/__init__.py b/tests/utils/mindspore/train/__init__.py index 0809f353..10f69af9 100644 --- a/tests/utils/mindspore/train/__init__.py +++ b/tests/utils/mindspore/train/__init__.py @@ -12,3 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ +"""Mock mindspore.train interface for union test."""