Skip to content

Commit

Permalink
test=document_fix (#35221)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoxiaWang authored Aug 29, 2021
1 parent 5dcff7c commit 31cd106
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/paddle/nn/functional/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,7 @@ class centers and the shape of sampled_class_center will be [num_positive_class_
Examples:
.. code-block:: python
:name: code-example1
# CPU or single GPU
import paddle
Expand All @@ -1642,6 +1643,7 @@ class centers and the shape of sampled_class_center will be [num_positive_class_
# [1 , 2 , 3 , 5 , 11, 12, 15, 18, 19])
.. code-block:: python
:name: code-example2
# required: distributed
# Multi GPU, test_class_center_sample.py
Expand Down

0 comments on commit 31cd106

Please sign in to comment.