From cfc4955187424904f5df1df8c9ceadd35a2bdb83 Mon Sep 17 00:00:00 2001 From: Tink_Y <31891223+tink2123@users.noreply.github.com> Date: Mon, 10 Dec 2018 15:09:18 +0800 Subject: [PATCH] Update layers_cn.rst --- doc/fluid/api_cn/layers_cn.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/fluid/api_cn/layers_cn.rst b/doc/fluid/api_cn/layers_cn.rst index ce1cda472..330192179 100644 --- a/doc/fluid/api_cn/layers_cn.rst +++ b/doc/fluid/api_cn/layers_cn.rst @@ -1718,7 +1718,7 @@ BRelu 激活函数 .. code-block:: python - x = fluid.layers.data(name=”x”, shape=[2,3,16,16], dtype=”float32”) + x = fluid.layers.data(name="x", shape=[2,3,16,16], dtype=”float32”) y = fluid.layers.brelu(x, t_min=1.0, t_max=20.0) @@ -4194,8 +4194,8 @@ image_resize 输入张量的shape为(num_batch, channels, in_h, in_w),并且调整大小只适用于最后两个维度(高度和宽度)。 支持重新取样方法: - - BILINEAR:双线性插值 + + BILINEAR:双线性插值 NEAREST:最近邻插值 参数: -- GitLab