Merge pull request !35852 from xumengjuan1/code_docs_c5
This commit is contained in:
i-robot 2022-06-13 09:57:26 +00:00 committed by Gitee
commit 9a134b4a64
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ mindspore.nn.Metric
**输出:**
:class:`Metric` ,类实例本身。
:class:`.Metric` ,类实例本身。
**异常:**

View File

@ -3,4 +3,4 @@ mindspore.nn.Top1CategoricalAccuracy
.. py:class:: mindspore.nn.Top1CategoricalAccuracy
计算top-1分类正确率。此类是TopKCategoricalAccuracy的特殊类。有关更多详细信息请参阅 :class:`TopKCategoricalAccuracy`。
计算top-1分类正确率。此类是TopKCategoricalAccuracy的特殊类。有关更多详细信息请参阅 :class:`.TopKCategoricalAccuracy`。

View File

@ -3,4 +3,4 @@ mindspore.nn.Top5CategoricalAccuracy
.. py:class:: mindspore.nn.Top5CategoricalAccuracy
计算top-5分类正确率。此类是TopKCategoricalAccuracy的特殊类。有关更多详细信息请参阅 :class:`TopKCategoricalAccuracy`。
计算top-5分类正确率。此类是TopKCategoricalAccuracy的特殊类。有关更多详细信息请参阅 :class:`.TopKCategoricalAccuracy`。