Fix `paddle.cos` docstring (#25969)

test=develop,test=document_fix

explain input/out put range and out of boundary behavior
revert-24895-update_cub
Yang Zhang 5 years ago committed by GitHub
parent b2d41e2acd
commit c4e480efc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -242,6 +242,9 @@ $$out = \\left \\lfloor x \\right \\rfloor$$
UNUSED constexpr char CosDoc[] = R"DOC(
Cosine Operator. Computes cosine of x element-wise.
Input range is `(-inf, inf)` and output range is `[-1,1]`.
Return `nan` if input is out of boundary.
$$out = cos(x)$$
)DOC";

Loading…
Cancel
Save