Skip to content

fix some errors about pass enhance.#33993

Merged
Shixiaowei02 merged 1 commit intoPaddlePaddle:developfrom
winter-wang:pass_dev
Jul 7, 2021
Merged

fix some errors about pass enhance.#33993
Shixiaowei02 merged 1 commit intoPaddlePaddle:developfrom
winter-wang:pass_dev

Conversation

@winter-wang
Copy link
Contributor

@winter-wang winter-wang commented Jul 6, 2021

PR types

Bug fixes

PR changes

Others

Describe

修正了一下pass中的前置条件书写不完善的情况,主要是针对 elementwise_* op的axis属性,当两个输入维度相等时,axis的取值条件应该是等于0或者-1,而不是直接等于-1。

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jul 6, 2021

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

@winter-wang winter-wang force-pushed the pass_dev branch 2 times, most recently from a7ba885 to 5f5046b Compare July 7, 2021 03:33
@Shixiaowei02 Shixiaowei02 merged commit 77a5b8b into PaddlePaddle:develop Jul 7, 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