Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pass_enhance] add global extra attributes for op def. #34009

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

winter-wang
Copy link
Contributor

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

PR types

Others

PR changes

Others

Describe

pass专项相关:
考虑到op def里面的extra 属性存在大面积的重复,因此,提炼出一个 全局的extra 属性。表示在所有op里面,该属性都是extra的。
全局extra属性主要包括opmarker的基类里面添加的一些类似 "op_callback" 的用以调试的属性,以及部分奇特的pass会给所有op都添加的类似 “is_test”、“use_mkldnn”之类的环境属性。

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jul 7, 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_enhance branch 2 times, most recently from 946ab71 to 1bf92ca Compare July 7, 2021 09:27
@Shixiaowei02 Shixiaowei02 merged commit 05643dc into PaddlePaddle:develop Jul 8, 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