Skip to content

Conversation

@ceci3
Copy link
Contributor

@ceci3 ceci3 commented Jul 12, 2021

PR types

Bug fixes

PR changes

OPs

Describe

fix batch_norm and instance norm when input is []

import paddle
import numpy as np

input = paddle.to_tensor([], dtype='float32')
paddle.static.nn.instance_norm(input)

@paddle-bot-old
Copy link

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

wanghaoshuang
wanghaoshuang previously approved these changes Jul 13, 2021
@ceci3 ceci3 merged commit ca7f520 into PaddlePaddle:develop Aug 19, 2021
@ceci3 ceci3 deleted the fix_bn_aq branch August 19, 2021 05:25
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.

3 participants