From 56910de64f77278791e1234627e42946816331fd Mon Sep 17 00:00:00 2001 From: Ting Wang Date: Fri, 31 Jul 2020 16:55:13 +0800 Subject: [PATCH] add hub api Signed-off-by: Ting Wang --- api/source_en/api/python/mindspore/mindspore.hub.rst | 4 ++++ api/source_en/index.rst | 11 +++++++++-- .../api/python/mindspore/mindspore.hub.rst | 4 ++++ api/source_zh_cn/index.rst | 11 +++++++++-- 4 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 api/source_en/api/python/mindspore/mindspore.hub.rst create mode 100644 api/source_zh_cn/api/python/mindspore/mindspore.hub.rst diff --git a/api/source_en/api/python/mindspore/mindspore.hub.rst b/api/source_en/api/python/mindspore/mindspore.hub.rst new file mode 100644 index 00000000..458c704f --- /dev/null +++ b/api/source_en/api/python/mindspore/mindspore.hub.rst @@ -0,0 +1,4 @@ +mindspore.hub +============= + +.. autofunction:: mindspore.hub.load_weights diff --git a/api/source_en/index.rst b/api/source_en/index.rst index f7a12d8e..2232138e 100644 --- a/api/source_en/index.rst +++ b/api/source_en/index.rst @@ -8,13 +8,14 @@ MindSpore API .. toctree:: :maxdepth: 1 - :caption: Python API + :caption: MindSpore Python API api/python/mindspore/mindspore api/python/mindspore/mindspore.dtype api/python/mindspore/mindspore.common.initializer api/python/mindspore/mindspore.communication api/python/mindspore/mindspore.context + api/python/mindspore/mindspore.hub api/python/mindspore/mindspore.nn api/python/mindspore/mindspore.nn.dynamic_lr api/python/mindspore/mindspore.nn.learning_rate_schedule @@ -31,8 +32,15 @@ MindSpore API api/python/mindspore/mindspore.mindrecord api/python/mindspore/mindspore.profiler +.. toctree:: + :maxdepth: 1 + :caption: MindInsight Python API + api/python/mindinsight/mindinsight.lineagemgr +.. toctree:: + :maxdepth: 1 + :caption: MindArmour Python API api/python/mindarmour/mindarmour api/python/mindarmour/mindarmour.utils @@ -42,4 +50,3 @@ MindSpore API api/python/mindarmour/mindarmour.defenses api/python/mindarmour/mindarmour.fuzzing api/python/mindarmour/mindarmour.diff_privacy - diff --git a/api/source_zh_cn/api/python/mindspore/mindspore.hub.rst b/api/source_zh_cn/api/python/mindspore/mindspore.hub.rst new file mode 100644 index 00000000..458c704f --- /dev/null +++ b/api/source_zh_cn/api/python/mindspore/mindspore.hub.rst @@ -0,0 +1,4 @@ +mindspore.hub +============= + +.. autofunction:: mindspore.hub.load_weights diff --git a/api/source_zh_cn/index.rst b/api/source_zh_cn/index.rst index f7a12d8e..2232138e 100644 --- a/api/source_zh_cn/index.rst +++ b/api/source_zh_cn/index.rst @@ -8,13 +8,14 @@ MindSpore API .. toctree:: :maxdepth: 1 - :caption: Python API + :caption: MindSpore Python API api/python/mindspore/mindspore api/python/mindspore/mindspore.dtype api/python/mindspore/mindspore.common.initializer api/python/mindspore/mindspore.communication api/python/mindspore/mindspore.context + api/python/mindspore/mindspore.hub api/python/mindspore/mindspore.nn api/python/mindspore/mindspore.nn.dynamic_lr api/python/mindspore/mindspore.nn.learning_rate_schedule @@ -31,8 +32,15 @@ MindSpore API api/python/mindspore/mindspore.mindrecord api/python/mindspore/mindspore.profiler +.. toctree:: + :maxdepth: 1 + :caption: MindInsight Python API + api/python/mindinsight/mindinsight.lineagemgr +.. toctree:: + :maxdepth: 1 + :caption: MindArmour Python API api/python/mindarmour/mindarmour api/python/mindarmour/mindarmour.utils @@ -42,4 +50,3 @@ MindSpore API api/python/mindarmour/mindarmour.defenses api/python/mindarmour/mindarmour.fuzzing api/python/mindarmour/mindarmour.diff_privacy - -- GitLab