Skip to content

Commit 6ace04f

Browse files
committed
update
1 parent 1c9fc65 commit 6ace04f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

paddle/fluid/operators/activation_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Relu Activation Operator.
133133
__attribute__((unused)) constexpr char TanhDoc[] = R"DOC(
134134
Tanh Activation Operator.
135135
136-
$$out = \frac{e^{x} - e^{-x}}{e^{x} + e^{-x}}$$
136+
$$out = \\frac{e^{x} - e^{-x}}{e^{x} + e^{-x}}$$
137137
138138
)DOC";
139139

python/paddle/fluid/layers/nn.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4475,6 +4475,7 @@ def image_resize(input,
44754475
and the resizing only applies on the last two dimensions(hight and width).
44764476
44774477
Supporting resample methods:
4478+
44784479
'BILINEAR' : Bilinear interpolation
44794480
44804481
Args:
@@ -4494,8 +4495,8 @@ def image_resize(input,
44944495
Default: 'BILINEAR'
44954496
44964497
Returns:
4497-
out (Variable): The output is a 4-D tensor of the shape
4498-
(num_batches, channls, out_h, out_w).
4498+
Variable: The output is a 4-D tensor of the shape
4499+
(num_batches, channls, out_h, out_w).
44994500
45004501
Examples:
45014502
.. code-block:: python
@@ -4579,7 +4580,7 @@ def image_resize_short(input, out_short_len, resample='BILINEAR'):
45794580
resample (str): resample method, default: BILINEAR.
45804581
45814582
Returns:
4582-
out (Variable): The output is a 4-D tensor of the shape
4583+
Variable: The output is a 4-D tensor of the shape
45834584
(num_batches, channls, out_h, out_w).
45844585
"""
45854586
in_shape = input.shape

0 commit comments

Comments
 (0)