未验证 提交 059f11f1 编写于 作者: S SunAhong1993 提交者: GitHub

Update Reshape.md

上级 95724fd6
...@@ -8,7 +8,7 @@ layer { ...@@ -8,7 +8,7 @@ layer {
type: "Reshape" type: "Reshape"
bottom: "data" bottom: "data"
top: "reshape" top: "reshape"
reshape_param{ reshape_param {
shape{ shape{
dim: 1 dim: 1
... ...
...@@ -56,8 +56,8 @@ layer { ...@@ -56,8 +56,8 @@ layer {
type: "Reshape" type: "Reshape"
bottom: "data" bottom: "data"
top: "reshape" top: "reshape"
reshape_param{ reshape_param {
shape{ shape {
dim: 3 dim: 3
dim: 2 dim: 2
} }
...@@ -71,8 +71,8 @@ layer { ...@@ -71,8 +71,8 @@ layer {
type: "Reshape" type: "Reshape"
bottom: "data" bottom: "data"
top: "reshape" top: "reshape"
reshape_param{ reshape_param {
shape{ shape {
dim: 3 dim: 3
dim: 2 dim: 2
dim: 4 dim: 4
...@@ -83,7 +83,7 @@ layer { ...@@ -83,7 +83,7 @@ layer {
# 输出shape:(2,3,2,4) # 输出shape:(2,3,2,4)
``` ```
``` ```python
# PaddlePaddle示例: # PaddlePaddle示例:
# 输入shape:(2,4,6) # 输入shape:(2,4,6)
output1 = paddle.fluid.layers.reshape(x = inputs , shape = [2,4,-1,3]) output1 = paddle.fluid.layers.reshape(x = inputs , shape = [2,4,-1,3])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册