Browse Source

add notes for init files.

tags/v1.1.0
wangshuide2020 5 years ago
parent
commit
dd7e72e811
42 changed files with 68 additions and 0 deletions
  1. +1
    -0
      mindinsight/common/hook/__init__.py
  2. +1
    -0
      mindinsight/datavisual/data_access/__init__.py
  3. +1
    -0
      mindinsight/datavisual/data_transform/__init__.py
  4. +1
    -0
      mindinsight/datavisual/processors/__init__.py
  5. +1
    -0
      mindinsight/datavisual/proto_files/__init__.py
  6. +1
    -0
      mindinsight/debugger/common/exceptions/__init__.py
  7. +1
    -0
      mindinsight/debugger/stream_cache/__init__.py
  8. +6
    -0
      mindinsight/mindconverter/__init__.py
  9. +1
    -0
      mindinsight/mindconverter/common/__init__.py
  10. +1
    -0
      mindinsight/profiler/common/__init__.py
  11. +1
    -0
      mindinsight/profiler/common/exceptions/__init__.py
  12. +1
    -0
      mindinsight/profiler/common/validator/__init__.py
  13. +1
    -0
      mindinsight/profiler/proposer/__init__.py
  14. +1
    -0
      mindinsight/scripts/__init__.py
  15. +1
    -0
      mindinsight/utils/__init__.py
  16. +8
    -0
      mindinsight/wizard/__init__.py
  17. +1
    -0
      mindinsight/wizard/base/__init__.py
  18. +1
    -0
      mindinsight/wizard/common/__init__.py
  19. +1
    -0
      mindinsight/wizard/conf/__init__.py
  20. +1
    -0
      mindinsight/wizard/dataset/__init__.py
  21. +1
    -0
      mindinsight/wizard/network/__init__.py
  22. +1
    -0
      tests/st/func/__init__.py
  23. +1
    -0
      tests/st/func/datavisual/__init__.py
  24. +1
    -0
      tests/st/func/datavisual/graph/__init__.py
  25. +1
    -0
      tests/st/func/datavisual/histogram/__init__.py
  26. +1
    -0
      tests/st/func/datavisual/image/__init__.py
  27. +1
    -0
      tests/st/func/datavisual/scalar/__init__.py
  28. +1
    -0
      tests/st/func/datavisual/taskmanager/__init__.py
  29. +1
    -0
      tests/st/func/datavisual/tensor/__init__.py
  30. +1
    -0
      tests/st/func/datavisual/workflow/__init__.py
  31. +1
    -0
      tests/st/func/mindconverter/__init__.py
  32. +1
    -0
      tests/ut/backend/__init__.py
  33. +1
    -0
      tests/ut/backend/datavisual/__init__.py
  34. +1
    -0
      tests/ut/backend/lineagemgr/__init__.py
  35. +1
    -0
      tests/ut/datavisual/__init__.py
  36. +1
    -0
      tests/ut/datavisual/data_transform/__init__.py
  37. +15
    -0
      tests/ut/datavisual/data_transform/loader_generators/__init__.py
  38. +1
    -0
      tests/ut/datavisual/processors/__init__.py
  39. +1
    -0
      tests/ut/mindconverter/__init__.py
  40. +1
    -0
      tests/ut/profiler/analyser/__init__.py
  41. +1
    -0
      tests/ut/profiler/common/__init__.py
  42. +1
    -0
      tests/ut/profiler/common/validator/__init__.py

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

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Hook module used to define relative hook."""

+ 1
- 0
mindinsight/datavisual/data_access/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Data access module used to define file operation."""

+ 1
- 0
mindinsight/datavisual/data_transform/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Data transform module used to load data and define relative container and so on."""

+ 1
- 0
mindinsight/datavisual/processors/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Processors module used to define all kinds of processor."""

+ 1
- 0
mindinsight/datavisual/proto_files/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Proto files module used to define proto and created pb2 file by protoc according to these proto files."""

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

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

+ 1
- 0
mindinsight/debugger/stream_cache/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Debugger stream cache module."""

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

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

MindConverter is a migration tool to transform the model scripts from PyTorch to Mindspore.
Users can migrate their PyTorch models to Mindspore rapidly with minor changes according to the conversion report.
"""

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

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

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

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

+ 1
- 0
mindinsight/profiler/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 for profiler."""

+ 1
- 0
mindinsight/profiler/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 profiler."""

+ 1
- 0
mindinsight/profiler/proposer/__init__.py View File

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

+ 1
- 0
mindinsight/scripts/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Scripts module used to define start and stop command for mindinsight."""

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

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

+ 8
- 0
mindinsight/wizard/__init__.py View File

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

MindWizard is a tool for quickly generating classic network scripts.
It collects user preference on the combination of network parameters,
such models, hyperparameters and datasets, then automatically generates target network scripts.
The generated scripts can be used for training and evaluation in the Ascend or GPU environment.
"""

+ 1
- 0
mindinsight/wizard/base/__init__.py View File

@@ -12,3 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Base entry definition for wizard."""

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

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

+ 1
- 0
mindinsight/wizard/conf/__init__.py View File

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

+ 1
- 0
mindinsight/wizard/dataset/__init__.py View File

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

+ 1
- 0
mindinsight/wizard/network/__init__.py View File

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

+ 15
- 0
tests/ut/datavisual/data_transform/loader_generators/__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.
# ============================================================================
"""UT for loader generators."""

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save