Skip to content

Commit 31cd106

Browse files
authored
test=document_fix (#35221)
1 parent 5dcff7c commit 31cd106

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/paddle/nn/functional/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,6 +1620,7 @@ class centers and the shape of sampled_class_center will be [num_positive_class_
16201620
Examples:
16211621
16221622
.. code-block:: python
1623+
:name: code-example1
16231624
16241625
# CPU or single GPU
16251626
import paddle
@@ -1642,6 +1643,7 @@ class centers and the shape of sampled_class_center will be [num_positive_class_
16421643
# [1 , 2 , 3 , 5 , 11, 12, 15, 18, 19])
16431644
16441645
.. code-block:: python
1646+
:name: code-example2
16451647
16461648
# required: distributed
16471649
# Multi GPU, test_class_center_sample.py

0 commit comments

Comments
 (0)