CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 19:34:04 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/PaddlePaddle/Paddle.git
etag: W/"832d978b491a07ce0c7a6402ef9efdf7"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=9lLoUtaJW0zQ5lWuc7CR%2BRG9KzekymULomJYtDYf81XfLQChhWkxpO9bXS3Ysvs9MlU4b0VNYFIeOIIWzBVYPNpoLwWbVEXJmwOgN5SfpAAnfIVA3%2B6cg238gPro4FdM%2F%2FEMQIzmuyD%2FyxAKg1ZdaKbDZK4RSuJm5xR6Gaj5MJzrQ9TvfcLGDkbtr17tlQj4ALkORB3aLTh4KUsJhYMtZWQZeQj0Asiv7kErRo%2FpzAt3s77rQNmBTMC5cyIhsiaG6XYJEBWI69YsdS51oyxQiw%3D%3D--0xMh60LYHMU6XCbz--aCuiNzCmkpBP2g%2F0peqdfw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1722295645.1753644844; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:34:04 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:34:04 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8CC4:3E3773:7CECC0:A3A6C4:68867F2C
[IR] IR attribute printer and support mutable attribute (#54369) · PaddlePaddle/Paddle@51ca74b · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/op_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_dialect.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_dialect.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_info.cc.j2
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_info.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 51ca74b
[IR] IR attribute printer and support mutable attribute (#54369)
* add vector type support for program translator
* polish
* support basic attribute type
* resolve conflicts
* add verify for combine/slice and unittests
* polish
* support more type in attribute translator
* modify by reviews
* fix merge mistakes
* refine code
* refine code
* add interface
* fix: op name normalization
* fix typo
* refactor input translator
* fix merge conflicts
* fix op normalizer bug
* refactor attribute translator
* fix bug
* refactor output translator
* fix typo
* fix
* fix approval error
* fix coverage
* fix op_compat parser
* fix merge conflicts
* fix merge conflicts
* fix merge conflicts
* fix merge conflicts
* fix merge conflicts
* refactor scalar attribute
* draft
* fix
* fix op build
* fix op build
* temporarily save
* adpat mutable attribute
* refine op_comat_gen process
* fix merge conflicts
* fix merge conflicts
* fix merge conflicts
* complete dialect attribute printer and refine ir_throw
* polish code
---------
Co-authored-by: zhangbo9674 <zhangbo54@baidu.com>1 parent fc88020 commit 51ca74bCopy full SHA for 51ca74b
File tree
Expand file treeCollapse file tree
15 files changed
+441
-127
lines changedFilter options
- paddle
- fluid
- ir_adaptor/translator
- ir/dialect
- ir/core
- test/cpp/ir/core
Expand file treeCollapse file tree
15 files changed
+441
-127
lines changedpaddle/fluid/ir/dialect/op_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/op_gen.py+19-3Lines changed: 19 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1193 | 1193 |
| |
1194 | 1194 |
| |
1195 | 1195 |
| |
| 1196 | + | |
1196 | 1197 |
| |
1197 |
| - | |
1198 | 1198 |
| |
1199 | 1199 |
| |
1200 | 1200 |
| |
| |||
1204 | 1204 |
| |
1205 | 1205 |
| |
1206 | 1206 |
| |
1207 |
| - | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
1208 | 1220 |
| |
1209 | 1221 |
| |
1210 | 1222 |
| |
| |||
1223 | 1235 |
| |
1224 | 1236 |
| |
1225 | 1237 |
| |
| 1238 | + | |
1226 | 1239 |
| |
1227 | 1240 |
| |
1228 | 1241 |
| |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
1229 | 1245 |
| |
1230 | 1246 |
| |
1231 |
| - | |
| 1247 | + | |
1232 | 1248 |
| |
1233 | 1249 |
| |
1234 | 1250 |
| |
|
paddle/fluid/ir/dialect/pd_dialect.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_dialect.cc+25-1Lines changed: 25 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
| 27 | + | |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
| |||
107 | 109 |
| |
108 | 110 |
| |
109 | 111 |
| |
110 |
| - | |
| 112 | + | |
111 | 113 |
| |
112 | 114 |
| |
113 | 115 |
| |
| |||
119 | 121 |
| |
120 | 122 |
| |
121 | 123 |
| |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
122 | 146 |
| |
123 | 147 |
|
paddle/fluid/ir/dialect/pd_dialect.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_dialect.h+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
| 43 | + | |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
|
paddle/fluid/ir_adaptor/translator/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/CMakeLists.txt+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
| 9 | + | |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
13 |
| - | |
| 15 | + | |
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
|
paddle/fluid/ir_adaptor/translator/op_compat_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_gen.py+33-3Lines changed: 33 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
50 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 |
| |
52 | 55 |
| |
53 | 56 |
| |
| |||
64 | 67 |
| |
65 | 68 |
| |
66 | 69 |
| |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
67 | 87 |
| |
68 | 88 |
| |
69 | 89 |
| |
| |||
88 | 108 |
| |
89 | 109 |
| |
90 | 110 |
| |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
91 | 119 |
| |
92 | 120 |
| |
93 | 121 |
| |
| |||
96 | 124 |
| |
97 | 125 |
| |
98 | 126 |
| |
| 127 | + | |
| 128 | + | |
99 | 129 |
| |
100 | 130 |
| |
101 | 131 |
| |
|
paddle/fluid/ir_adaptor/translator/op_compat_info.cc.j2
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_info.cc.j2+31Lines changed: 31 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
24 | 55 |
| |
25 | 56 |
| |
26 | 57 |
| |
|
paddle/fluid/ir_adaptor/translator/op_compat_info.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir_adaptor/translator/op_compat_info.h+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| 29 | + | |
| 30 | + | |
28 | 31 |
| |
29 | 32 |
| |
30 | 33 |
| |
31 | 34 |
| |
32 | 35 |
| |
33 | 36 |
| |
34 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 |
| |
36 | 45 |
| |
37 | 46 |
| |
| |||
50 | 59 |
| |
51 | 60 |
| |
52 | 61 |
| |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
53 | 77 |
| |
54 | 78 |
| |
55 | 79 |
| |
|
You can’t perform that action at this time.
0 commit comments