未验证 提交 31cd1065 编写于 作者: G Guoxia Wang 提交者: GitHub

test=document_fix (#35221)

上级 5dcff7c8
......@@ -1620,6 +1620,7 @@ def class_center_sample(label, num_classes, num_samples, group=None, seed=None):
Examples:
.. code-block:: python
:name: code-example1
# CPU or single GPU
import paddle
......@@ -1642,6 +1643,7 @@ def class_center_sample(label, num_classes, num_samples, group=None, seed=None):
# [1 , 2 , 3 , 5 , 11, 12, 15, 18, 19])
.. code-block:: python
:name: code-example2
# required: distributed
# Multi GPU, test_class_center_sample.py
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册