From 6d17ae22cc4b605745d310f4c34db62ebe3c5036 Mon Sep 17 00:00:00 2001 From: mamingjie-China <52770436+mamingjie-China@users.noreply.github.com> Date: Wed, 16 Oct 2019 11:46:16 +0800 Subject: [PATCH] Update tf.layers.conv2d.md --- tensorflow2fluid/doc/tf.layers.conv2d.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow2fluid/doc/tf.layers.conv2d.md b/tensorflow2fluid/doc/tf.layers.conv2d.md index 7dfcae1..e59d171 100644 --- a/tensorflow2fluid/doc/tf.layers.conv2d.md +++ b/tensorflow2fluid/doc/tf.layers.conv2d.md @@ -50,8 +50,8 @@ TensorFlow: 默认输入数据格式为`NHWC`,表示`(batch,height, width, i | 输入 | 卷积核 | 输出 | |--------------------|-------------------|------------------| -|NHWC | (kernel_h, kernel_w, filters_num, in_channels)| (batch, out_h, out_w, filters_num)| -|NCHW | (kernel_h, kernel_w, filters_num, in_channels) | (batch, filters_num, out_h, out_w)| +|NHWC | (kernel_h, kernel_w, in_channels, filters_num)| (batch, out_h, out_w, filters_num)| +|NCHW | (kernel_h, kernel_w, in_channels, filters_num) | (batch, filters_num, out_h, out_w)| PaddlePaddle:只支持输入数据格式为`NCHW`,且**卷积核格式**与TensorFlow不同,其中输入、输出、卷积核对应关系如下表所示, -- GitLab