Skip to content

Conversation

tink2123
Copy link
Contributor

@tink2123 tink2123 commented Dec 30, 2021

PR types

New features

PR changes

APIs

Describe

add fold opereators

import paddle.nn as nn
import paddle
data = paddle.randn([2,3*2*2,12]).astype("float32")
fold = nn.Fold(output_sizes=(4, 5), kernel_sizes=2)
output = fold(data)
# output.shape = [2,3,4,5]

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tink2123 tink2123 merged commit 8898dce into PaddlePaddle:develop Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants