未验证 提交 5dcff7c8 编写于 作者: G Guoxia Wang 提交者: GitHub

test=document_fix (#35222)

上级 be29b8ee
...@@ -1147,6 +1147,7 @@ def margin_cross_entropy(logits, ...@@ -1147,6 +1147,7 @@ def margin_cross_entropy(logits,
Examples: Examples:
.. code-block:: python .. code-block:: python
:name: code-example1
# required: gpu # required: gpu
# Single GPU # Single GPU
...@@ -1195,6 +1196,7 @@ def margin_cross_entropy(logits, ...@@ -1195,6 +1196,7 @@ def margin_cross_entropy(logits,
# [0.99992995, 0.00006468, 0.00000000, 0.00000537]]) # [0.99992995, 0.00006468, 0.00000000, 0.00000537]])
.. code-block:: python .. code-block:: python
:name: code-example2
# required: distributed # required: distributed
# Multi GPU, test_margin_cross_entropy.py # Multi GPU, test_margin_cross_entropy.py
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册