CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 07:32:43 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/"13524d3f60e72d271624fb7dacc16ae0"
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=SBQPwu3MbYpc7n5vOTS6cKcRG6SHq1bwx2xuMSqGhwoiMEMbJ5SEA4nXg%2B0nxlq8CgoxcxJhsiHHc4vMxMVqTKaDTP6p7ceYTr%2Bsd69UtKkwFf%2B%2B584Yj43%2BH3l9LWlVxyl5gOHq8LTyq0lJJKxNQHx6jO9190cpCNzR6m4ttMgF0%2FgQ4egDZXv5eCT5M9sIXhPn%2FETHqOm2ofMlIF6bkZChhD0PQXYAJFk54Kb%2F1z5%2BXUNfVjkU%2F2goos7XDSUvqAxwoJDkIVgR8nlUZ8WFxA%3D%3D--DN0njXcd%2FE5W%2F8hP--X4G9GXyZ6x5Cf92VD%2BM5oQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1685941912.1753687962; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 07:32:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 07:32:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C7E6:32A0BD:D03F27:10DBBC9:6887279A
[Dy2St] Remove `UndefinedVar` for break, continue and return flag (#6… · PaddlePaddle/Paddle@6385649 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/transformers/break_continue_transformer.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/transformers/return_transformer.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/variable_trans_func.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_ifelse.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 6385649
File tree
Expand file treeCollapse file tree
6 files changed
+234
-17
lines changedFilter options
- python/paddle
- jit/dy2static
- transformers
- static/nn
- test/dygraph_to_static
Expand file treeCollapse file tree
6 files changed
+234
-17
lines changedpython/paddle/jit/dy2static/transformers/break_continue_transformer.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/transformers/break_continue_transformer.py+19-1Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 |
| |
124 | 127 |
| |
125 | 128 |
| |
| 129 | + | |
126 | 130 |
| |
127 | 131 |
| |
128 | 132 |
| |
| |||
140 | 144 |
| |
141 | 145 |
| |
142 | 146 |
| |
143 |
| - | |
| 147 | + | |
144 | 148 |
| |
145 | 149 |
| |
146 | 150 |
| |
| |||
164 | 168 |
| |
165 | 169 |
| |
166 | 170 |
| |
| 171 | + | |
| 172 | + | |
| 173 | + | |
167 | 174 |
| |
168 | 175 |
| |
169 | 176 |
| |
| 177 | + | |
170 | 178 |
| |
171 | 179 |
| |
172 | 180 |
| |
| |||
185 | 193 |
| |
186 | 194 |
| |
187 | 195 |
| |
| 196 | + | |
| 197 | + | |
| 198 | + | |
188 | 199 |
| |
189 | 200 |
| |
190 | 201 |
| |
| |||
298 | 309 |
| |
299 | 310 |
| |
300 | 311 |
| |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
301 | 319 |
| |
302 | 320 |
| |
303 | 321 |
| |
|
python/paddle/jit/dy2static/transformers/return_transformer.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/transformers/return_transformer.py+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
232 | 233 |
| |
233 | 234 |
| |
234 | 235 |
| |
| 236 | + | |
235 | 237 |
| |
236 | 238 |
| |
237 | 239 |
| |
| |||
257 | 259 |
| |
258 | 260 |
| |
259 | 261 |
| |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
260 | 266 |
| |
261 | 267 |
| |
262 | 268 |
| |
|
python/paddle/jit/dy2static/variable_trans_func.py
Copy file name to clipboardExpand all lines: python/paddle/jit/dy2static/variable_trans_func.py+5-3Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
| |||
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 |
| - | |
| 41 | + | |
40 | 42 |
| |
41 | 43 |
| |
42 | 44 |
| |
| |||
50 | 52 |
| |
51 | 53 |
| |
52 | 54 |
| |
53 |
| - | |
54 |
| - | |
| 55 | + | |
| 56 | + | |
55 | 57 |
| |
56 | 58 |
| |
57 | 59 |
| |
|
python/paddle/static/nn/control_flow.py
Copy file name to clipboardExpand all lines: python/paddle/static/nn/control_flow.py+195-5Lines changed: 195 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
1169 | 1170 |
| |
1170 | 1171 |
| |
1171 | 1172 |
| |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
1172 | 1334 |
| |
1173 | 1335 |
| |
1174 | 1336 |
| |
| |||
1440 | 1602 |
| |
1441 | 1603 |
| |
1442 | 1604 |
| |
1443 |
| - | |
| 1605 | + | |
1444 | 1606 |
| |
1445 | 1607 |
| |
1446 | 1608 |
| |
1447 | 1609 |
| |
1448 | 1610 |
| |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
1449 | 1633 |
| |
1450 |
| - | |
| 1634 | + | |
1451 | 1635 |
| |
1452 |
| - | |
| 1636 | + | |
| 1637 | + | |
1453 | 1638 |
| |
1454 |
| - | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
1455 | 1645 |
| |
1456 | 1646 |
| |
1457 | 1647 |
| |
|
test/dygraph_to_static/test_ifelse.py
Copy file name to clipboardExpand all lines: test/dygraph_to_static/test_ifelse.py+5-4Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
321 | 321 |
| |
322 | 322 |
| |
323 | 323 |
| |
324 |
| - | |
| 324 | + | |
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
| |||
523 | 523 |
| |
524 | 524 |
| |
525 | 525 |
| |
526 |
| - | |
527 | 526 |
| |
| 527 | + | |
528 | 528 |
| |
529 | 529 |
| |
530 | 530 |
| |
| |||
533 | 533 |
| |
534 | 534 |
| |
535 | 535 |
| |
536 |
| - | |
| 536 | + | |
537 | 537 |
| |
538 | 538 |
| |
539 | 539 |
| |
540 | 540 |
| |
541 |
| - | |
542 | 541 |
| |
| 542 | + | |
543 | 543 |
| |
544 | 544 |
| |
545 | 545 |
| |
| |||
551 | 551 |
| |
552 | 552 |
| |
553 | 553 |
| |
| 554 | + | |
554 | 555 |
| |
555 | 556 |
| |
556 | 557 |
| |
|
You can’t perform that action at this time.
0 commit comments