CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 00:55:55 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/"85851e89d9bd8d79c2335617f323abc7"
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=NiR4Iu6yspweXkWZ6nB9VWygTUH%2BCjGgGxckAv4EPDF7pTjX77O7qHMdqk7zGzVq4sHsJIpWTfA11WaKgoIa9LtyIqRFS%2FDZ%2Fb6e%2FRLoxUtDuOQvJAEI1b9h%2FMgy0CokFeRbwoadBCvmfCtvuHJlTrSqzFIFjkFqrdsiqPMNTQFrS%2FUetY5e4ceVp5pdbak8XlFsrISiMkaGyh5R2YIvxd8Mb1OhvpPXQbQQ5Jlm6VvI%2FiS4W0vQ%2F5m3QhT7k0uhkq6oX9DbXZFe6THZ1KhhnA%3D%3D--jglN5jNpouDXs3Yd--N9KOdFM24yrfZ6e2UHSUlA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.920630562.1753664154; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 00:55:54 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 00:55:54 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C8F8:363053:126DD6E:1867528:6886CA99
[PIR] add python api for if (#60895) · PaddlePaddle/Paddle@0d7bad2 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/instruction/control_flow/if_instruction.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/api_builder.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/control_flow_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/pd_op_to_kernel_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/control_flow_api.cc
Copy file name to clipboardExpand all lines: python/paddle/base/layer_helper.py
Copy file name to clipboardExpand all lines: python/paddle/base/layer_helper_base.py
Copy file name to clipboardExpand all lines: python/paddle/static/nn/common.py
Copy file name to clipboardExpand all lines: python/paddle/static/nn/control_flow.py
Copy file name to clipboardExpand all lines: test/dygraph_to_static/test_loop.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 0d7bad2
authored
File tree
Expand file treeCollapse file tree
11 files changed
+153
-56
lines changedFilter options
- paddle/fluid
- framework/new_executor/instruction/control_flow
- pir
- dialect/operator/ir
- transforms
- pybind
- python/paddle
- base
- static/nn
- test
- dygraph_to_static
- legacy_test
Expand file treeCollapse file tree
11 files changed
+153
-56
lines changedpaddle/fluid/framework/new_executor/instruction/control_flow/if_instruction.cc
Copy file name to clipboardExpand all lines: paddle/fluid/framework/new_executor/instruction/control_flow/if_instruction.cc+30-2Lines changed: 30 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
215 | 215 |
| |
216 | 216 |
| |
217 | 217 |
| |
218 |
| - | |
219 |
| - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
220 | 248 |
| |
221 | 249 |
| |
222 | 250 |
| |
|
paddle/fluid/pir/dialect/operator/ir/api_builder.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/api_builder.h+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
|
paddle/fluid/pir/dialect/operator/ir/control_flow_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/control_flow_op.cc+21-11Lines changed: 21 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
218 | 218 |
| |
219 | 219 |
| |
220 | 220 |
| |
221 |
| - | |
222 |
| - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
223 | 229 |
| |
224 | 230 |
| |
225 | 231 |
| |
| |||
229 | 235 |
| |
230 | 236 |
| |
231 | 237 |
| |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
241 | 251 |
| |
242 | 252 |
| |
243 | 253 |
| |
|
paddle/fluid/pir/transforms/pd_op_to_kernel_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/pd_op_to_kernel_pass.cc-21Lines changed: 0 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1130 | 1130 |
| |
1131 | 1131 |
| |
1132 | 1132 |
| |
1133 |
| - | |
1134 |
| - | |
1135 |
| - | |
1136 |
| - | |
1137 |
| - | |
1138 |
| - | |
1139 |
| - | |
1140 |
| - | |
1141 |
| - | |
1142 |
| - | |
1143 |
| - | |
1144 |
| - | |
1145 |
| - | |
1146 |
| - | |
1147 |
| - | |
1148 |
| - | |
1149 |
| - | |
1150 |
| - | |
1151 |
| - | |
1152 |
| - | |
1153 |
| - | |
1154 | 1133 |
| |
1155 | 1134 |
| |
1156 | 1135 |
| |
|
paddle/fluid/pybind/control_flow_api.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/control_flow_api.cc+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| |||
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 |
| |
64 | 70 |
| |
65 | 71 |
| |
66 | 72 |
| |
67 | 73 |
| |
68 | 74 |
| |
69 | 75 |
| |
| 76 | + | |
70 | 77 |
| |
71 | 78 |
| |
72 | 79 |
| |
|
python/paddle/base/layer_helper.py
Copy file name to clipboardExpand all lines: python/paddle/base/layer_helper.py+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
132 | 133 |
| |
133 | 134 |
| |
134 | 135 |
| |
| 136 | + | |
| 137 | + | |
135 | 138 |
| |
136 | 139 |
| |
137 | 140 |
| |
|
python/paddle/base/layer_helper_base.py
Copy file name to clipboardExpand all lines: python/paddle/base/layer_helper_base.py+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| |||
359 | 360 |
| |
360 | 361 |
| |
361 | 362 |
| |
| 363 | + | |
| 364 | + | |
362 | 365 |
| |
363 | 366 |
| |
364 | 367 |
| |
|
python/paddle/static/nn/common.py
Copy file name to clipboardExpand all lines: python/paddle/static/nn/common.py+25-9Lines changed: 25 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| |||
191 | 192 |
| |
192 | 193 |
| |
193 | 194 |
| |
194 |
| - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
195 | 198 |
| |
196 | 199 |
| |
197 |
| - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
198 | 206 |
| |
199 | 207 |
| |
200 | 208 |
| |
| |||
210 | 218 |
| |
211 | 219 |
| |
212 | 220 |
| |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 |
| - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
220 | 234 |
| |
221 | 235 |
| |
222 | 236 |
| |
223 | 237 |
| |
| 238 | + | |
| 239 | + | |
224 | 240 |
| |
225 | 241 |
| |
226 | 242 |
| |
|
python/paddle/static/nn/control_flow.py
Copy file name to clipboardExpand all lines: python/paddle/static/nn/control_flow.py+59-6Lines changed: 59 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
178 | 223 |
| |
179 | 224 |
| |
180 | 225 |
| |
| |||
208 | 253 |
| |
209 | 254 |
| |
210 | 255 |
| |
211 |
| - | |
212 |
| - | |
213 | 256 |
| |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
214 | 267 |
| |
215 | 268 |
| |
216 | 269 |
| |
217 | 270 |
| |
| 271 | + | |
| 272 | + | |
218 | 273 |
| |
219 | 274 |
| |
220 | 275 |
| |
| |||
1244 | 1299 |
| |
1245 | 1300 |
| |
1246 | 1301 |
| |
| 1302 | + | |
| 1303 | + | |
1247 | 1304 |
| |
1248 |
| - | |
1249 |
| - | |
1250 | 1305 |
| |
1251 | 1306 |
| |
1252 | 1307 |
| |
| |||
1267 | 1322 |
| |
1268 | 1323 |
| |
1269 | 1324 |
| |
1270 |
| - | |
1271 |
| - | |
1272 | 1325 |
| |
1273 | 1326 |
| |
1274 | 1327 |
| |
|
test/dygraph_to_static/test_loop.py
Copy file name to clipboardExpand all lines: test/dygraph_to_static/test_loop.py-3Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
| |||
252 | 251 |
| |
253 | 252 |
| |
254 | 253 |
| |
255 |
| - | |
256 | 254 |
| |
257 | 255 |
| |
258 | 256 |
| |
| |||
268 | 266 |
| |
269 | 267 |
| |
270 | 268 |
| |
271 |
| - | |
272 | 269 |
| |
273 | 270 |
| |
274 | 271 |
| |
|
You can’t perform that action at this time.
0 commit comments