Browse Source

add annotations for __init__.py

tags/v1.1.0
luopengting 5 years ago
parent
commit
51d779585c
26 changed files with 49 additions and 1 deletions
  1. +6
    -0
      mindinsight/lineagemgr/__init__.py
  2. +1
    -0
      mindinsight/lineagemgr/common/__init__.py
  3. +1
    -0
      mindinsight/lineagemgr/common/exceptions/__init__.py
  4. +1
    -0
      mindinsight/lineagemgr/common/validator/__init__.py
  5. +1
    -0
      mindinsight/lineagemgr/querier/__init__.py
  6. +1
    -0
      mindinsight/lineagemgr/summary/__init__.py
  7. +5
    -0
      mindinsight/optimizer/__init__.py
  8. +15
    -0
      mindinsight/optimizer/common/__init__.py
  9. +1
    -0
      mindinsight/optimizer/utils/__init__.py
  10. +1
    -0
      tests/__init__.py
  11. +1
    -0
      tests/st/__init__.py
  12. +1
    -0
      tests/st/func/lineagemgr/__init__.py
  13. +1
    -0
      tests/st/func/lineagemgr/collection/__init__.py
  14. +1
    -1
      tests/st/func/lineagemgr/collection/model/__init__.py
  15. +1
    -0
      tests/st/func/optimizer/__init__.py
  16. +1
    -0
      tests/st/func/optimizer/targets/__init__.py
  17. +1
    -0
      tests/ut/lineagemgr/common/__init__.py
  18. +1
    -0
      tests/ut/lineagemgr/common/validator/__init__.py
  19. +1
    -0
      tests/ut/lineagemgr/querier/__init__.py
  20. +1
    -0
      tests/ut/lineagemgr/summary/__init__.py
  21. +1
    -0
      tests/ut/optimizer/__init__.py
  22. +1
    -0
      tests/utils/log_generators/__init__.py
  23. +1
    -0
      tests/utils/mindspore/application/__init__.py
  24. +1
    -0
      tests/utils/mindspore/application/model_zoo/__init__.py
  25. +1
    -0
      tests/utils/mindspore/common/__init__.py
  26. +1
    -0
      tests/utils/mindspore/nn/loss/__init__.py

+ 6
- 0
mindinsight/lineagemgr/__init__.py View File

@@ -12,3 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""
Lineage manager.

Lineagemgr provides model training information, including data processing information,
hyperparameters and model evaluation results, etc.
"""

+ 1
- 0
mindinsight/lineagemgr/common/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Common utils for lineagemgr."""

+ 1
- 0
mindinsight/lineagemgr/common/exceptions/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Exceptions and error code."""

+ 1
- 0
mindinsight/lineagemgr/common/validator/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Validator for lineagemgr."""

+ 1
- 0
mindinsight/lineagemgr/querier/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Querier for lineagemgr."""

+ 1
- 0
mindinsight/lineagemgr/summary/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Modules for lineage summary analyzer."""

+ 5
- 0
mindinsight/optimizer/__init__.py View File

@@ -12,3 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""
Optimizer.

Optimizer provides optimization target distribution, parameter importance, etc.
"""

+ 15
- 0
mindinsight/optimizer/common/__init__.py View File

@@ -0,0 +1,15 @@
# Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Common modules for optimizer."""

+ 1
- 0
mindinsight/optimizer/utils/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Common utils for optimizer."""

+ 1
- 0
tests/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Test cases."""

+ 1
- 0
tests/st/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""ST for mindinsight."""

+ 1
- 0
tests/st/func/lineagemgr/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""ST for lineage."""

+ 1
- 0
tests/st/func/lineagemgr/collection/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""ST for generating lineage summaries."""

+ 1
- 1
tests/st/func/lineagemgr/collection/model/__init__.py View File

@@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Lineage collection."""
"""ST for generating lineage summaries and mocked modules."""

+ 1
- 0
tests/st/func/optimizer/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""ST for optimizer."""

+ 1
- 0
tests/st/func/optimizer/targets/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""ST for targets."""

+ 1
- 0
tests/ut/lineagemgr/common/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Test cases for common utils."""

+ 1
- 0
tests/ut/lineagemgr/common/validator/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Test cases for validator."""

+ 1
- 0
tests/ut/lineagemgr/querier/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Test cases for querier."""

+ 1
- 0
tests/ut/lineagemgr/summary/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Test cases for summary utils."""

+ 1
- 0
tests/ut/optimizer/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Test cases for optimizer."""

+ 1
- 0
tests/utils/log_generators/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Log generators and data to write."""

+ 1
- 0
tests/utils/mindspore/application/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Mocked mindspore."""

+ 1
- 0
tests/utils/mindspore/application/model_zoo/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Mocked model_zoo."""

+ 1
- 0
tests/utils/mindspore/common/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Mocked common modules."""

+ 1
- 0
tests/utils/mindspore/nn/loss/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Mocked loss."""

Loading…
Cancel
Save