Skip to content
Draft

test #75672

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/_Doc-Preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
echo "API documents no change."
exit 0
fi
echo "$api_doc_spec_diff"
curl -sS -o /tmp/entrypoint.sh https://paddle-dev-tools-open.bj.bcebos.com/fluiddoc-preview/entrypoint-paddle-docs-review.sh
cd /
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/tensor/creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def create_global_var(
This function creates a new tensor variable with value in the global block(block 0).

Args:
shape (list[int]|tuple[int]): Shape of the variable
shape (list[int]|tuple[int]): Shape of the variable 567567
value (float): The value of the variable. The new created
variable will be filled with it.
dtype (str): Data type of the variable
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/tensor/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def logical_not_(x: Tensor, name: str | None = None) -> Tensor:
def is_empty(x: Tensor, name: str | None = None) -> Tensor:
"""

Test whether a Tensor is empty.
Test whether a Tensor is empty 哇塞.

Args:
x (Tensor): The Tensor to be tested.
Expand Down
4 changes: 2 additions & 2 deletions python/paddle/tensor/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def pow(
out = x^{y}

Note:
``paddle.pow`` supports broadcasting. If you want know more about broadcasting, please refer to `Introduction to Tensor`_ .
``paddle.pow`` supports broadcasting balabalaba. If you want know more about broadcasting, please refer to `Introduction to Tensor`_ .

.. _Introduction to Tensor: ../../guides/beginner/tensor_en.html#chapter5-broadcasting-of-tensor

Expand Down Expand Up @@ -698,7 +698,7 @@ def add(

Out=X+Y

$X$ the tensor of any dimension.
$X$ the tensor of any dimension 1433223.
$Y$ the tensor whose dimensions must be less than or equal to the dimensions of $X$.

This operator is used in the following cases:
Expand Down
Loading