CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 05:30:31 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/"9964cb2b2e365d44ec0dbd9eea2ce720"
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=zgByiThO7WSv74LxntWVgF6n84TyIsZm5JvD17Yfn8DmGS8hr7oVmuEs8CARKJMvdko%2BSNzR0%2FB9RFavJeadifo5NjehwElR8mnqpJ%2Buz2k61GfeMbmMhbR%2BF2X0l9xqhmjRP9yPT2uXbROYNhCD7w8KyhXpxgkT1QliwR78FQQZCOlsiR223xCP6nQWL6tGCqo0RZK6PsOZHBiUCw4l38vzafmr9%2BSVMZl1kx1BeUkP5RHzJKY5LFGbi7O0REi71bQy73mUlcFuR7g4Ao9c9w%3D%3D--B8CAC1eTGh1aRceH--Uq1zU4WxcZMX33k4czdM9Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1894471316.1753335030; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:30:30 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:30:30 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 90D4:3B93B0:13D5033:180B1A0:6881C4F6
[IR] Refine IR builder and throw methods (#54396) · PaddlePaddle/Paddle@3a452e4 · 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_attribute.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_attribute.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/utils.h
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.h
Copy file name to clipboardExpand all lines: paddle/ir/core/operation.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/storage_manager.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 3a452e4
authored
[IR] Refine IR builder and throw methods (#54396)
* refine code
* refine code
* refine code
* refine code
* refine code
* refine code
* refine code
* fix bug
* refine code
* refine code
* refine code
* refine code
* refine code
* delete unused code
* delete unused code
* refine code1 parent b62b384 commit 3a452e4Copy full SHA for 3a452e4
File tree
Expand file treeCollapse file tree
18 files changed
+655
-377
lines changedFilter options
- paddle
- fluid/ir/dialect
- ir/core
- phi
- api/yaml
- infermeta
- kernels
- cpu
- test/cpp/ir/core
Expand file treeCollapse file tree
18 files changed
+655
-377
lines changedpaddle/fluid/ir/dialect/op_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/op_gen.py+411-194Lines changed: 411 additions & 194 deletions
Large diffs are not rendered by default.
paddle/fluid/ir/dialect/pd_attribute.cc
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_attribute.cc+18Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
29 | 47 |
| |
30 | 48 |
|
paddle/fluid/ir/dialect/pd_attribute.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/pd_attribute.h+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| |||
45 | 47 |
| |
46 | 48 |
| |
47 | 49 |
| |
| 50 | + | |
| 51 | + | |
48 | 52 |
| |
49 | 53 |
| |
50 | 54 |
| |
|
paddle/fluid/ir/dialect/utils.h
Copy file name to clipboardExpand all lines: paddle/fluid/ir/dialect/utils.h+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
| 104 | + | |
104 | 105 |
| |
105 | 106 |
| |
106 | 107 |
| |
107 |
| - | |
| 108 | + | |
| 109 | + | |
108 | 110 |
| |
109 | 111 |
| |
110 | 112 |
| |
111 |
| - | |
| 113 | + | |
| 114 | + | |
112 | 115 |
| |
113 | 116 |
| |
114 | 117 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
paddle/ir/core/builtin_op.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.cc+64-95Lines changed: 64 additions & 95 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
61 |
| - | |
62 |
| - | |
| 60 | + | |
63 | 61 |
| |
64 | 62 |
| |
65 | 63 |
| |
66 |
| - | |
67 |
| - | |
68 |
| - | |
| 64 | + | |
| 65 | + | |
69 | 66 |
| |
70 | 67 |
| |
71 |
| - | |
72 |
| - | |
73 |
| - | |
| 68 | + | |
74 | 69 |
| |
75 | 70 |
| |
76 | 71 |
| |
| |||
81 | 76 |
| |
82 | 77 |
| |
83 | 78 |
| |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
| 79 | + | |
| 80 | + | |
91 | 81 |
| |
92 |
| - | |
93 |
| - | |
94 |
| - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
95 | 88 |
| |
96 | 89 |
| |
97 | 90 |
| |
| |||
102 | 95 |
| |
103 | 96 |
| |
104 | 97 |
| |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
| 98 | + | |
| 99 | + | |
112 | 100 |
| |
113 |
| - | |
114 |
| - | |
115 |
| - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
116 | 107 |
| |
117 | 108 |
| |
118 | 109 |
| |
119 | 110 |
| |
120 | 111 |
| |
121 | 112 |
| |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
127 | 117 |
| |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
132 | 121 |
| |
133 | 122 |
| |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
141 | 127 |
| |
142 | 128 |
| |
143 | 129 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
153 | 137 |
| |
154 | 138 |
| |
155 | 139 |
| |
| |||
158 | 142 |
| |
159 | 143 |
| |
160 | 144 |
| |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
166 | 148 |
| |
167 | 149 |
| |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
172 | 153 |
| |
173 | 154 |
| |
174 | 155 |
| |
175 |
| - | |
176 |
| - | |
177 |
| - | |
178 |
| - | |
179 |
| - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
180 | 159 |
| |
181 | 160 |
| |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
| 161 | + | |
| 162 | + | |
186 | 163 |
| |
187 |
| - | |
188 |
| - | |
189 |
| - | |
| 164 | + | |
| 165 | + | |
190 | 166 |
| |
191 | 167 |
| |
192 | 168 |
| |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
204 |
| - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
205 | 175 |
| |
206 | 176 |
| |
207 |
| - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
208 | 180 |
| |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
| 181 | + | |
| 182 | + | |
215 | 183 |
| |
216 | 184 |
| |
217 | 185 |
| |
218 | 186 |
| |
219 |
| - | |
| 187 | + | |
| 188 | + | |
220 | 189 |
| |
221 | 190 |
| |
222 | 191 |
| |
|
paddle/ir/core/builtin_op.h
Copy file name to clipboardExpand all lines: paddle/ir/core/builtin_op.h+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
| 89 | + | |
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
| |||
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
128 |
| - | |
| 129 | + | |
| 130 | + | |
129 | 131 |
| |
130 | 132 |
| |
131 | 133 |
| |
|
paddle/ir/core/operation.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/operation.cc+5-4Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
85 | 86 |
| |
86 | 87 |
| |
87 | 88 |
| |
88 |
| - | |
| 89 | + | |
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
| |||
147 | 148 |
| |
148 | 149 |
| |
149 | 150 |
| |
150 |
| - | |
| 151 | + | |
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
| |||
178 | 179 |
| |
179 | 180 |
| |
180 | 181 |
| |
181 |
| - | |
| 182 | + | |
182 | 183 |
| |
183 | 184 |
| |
184 | 185 |
| |
| |||
199 | 200 |
| |
200 | 201 |
| |
201 | 202 |
| |
202 |
| - | |
| 203 | + | |
203 | 204 |
| |
204 | 205 |
| |
205 | 206 |
| |
|
paddle/ir/core/storage_manager.cc
Copy file name to clipboardExpand all lines: paddle/ir/core/storage_manager.cc+5-3Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| |||
76 | 78 |
| |
77 | 79 |
| |
78 | 80 |
| |
79 |
| - | |
| 81 | + | |
80 | 82 |
| |
81 | 83 |
| |
82 | 84 |
| |
| |||
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
91 |
| - | |
| 93 | + | |
92 | 94 |
| |
93 | 95 |
| |
94 | 96 |
| |
| |||
107 | 109 |
| |
108 | 110 |
| |
109 | 111 |
| |
110 |
| - | |
| 112 | + | |
111 | 113 |
| |
112 | 114 |
| |
113 | 115 |
| |
|
You can’t perform that action at this time.
0 commit comments