CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 16:01:27 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/"68a245e163ddc8da69259484479c2a92"
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=r9lW18uc%2FIqhN267AZerpa5u9URAA3EYW96Xa4NZnxtiDi7PFYI9pzlEwqNIjwo%2BvaZIrhDvqD3u69c%2BSi6uJaEOVIhCgGLjuHO7kuEy9APImXYApC6T7OrzXDgX4QQ2ypOwyn0gjybkFTryQJFj0nUZ4yPygrGK67GXrHPzLOYdp8Vi47k5CDlBzgkIHKuOqXaTVdXQxW2fMbECzTaL5Z94woz%2BAGkKtxObjoxapC%2FbpzyxEjYP4Q1Pdm20z3SC31doPhuDj3J2Jd7srCbxxg%3D%3D--%2Bzh4mOLcNwG9WqxC--HYhfG5Z7R%2BWEcV6vKzf1sw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1082216335.1753632086; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:01:26 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:01:26 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8B86:21EF6:64DED4:84D73A:68864D56
Fix unittest of if and while with dynamic shape (#61972) · PaddlePaddle/Paddle@775cbdc · GitHub




authored
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_cinn_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/dynamic_reshape_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/fuse_shape_ops_into_generate_shape_op_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/move_generate_shape_ops_to_prologue_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_util.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/insert_broadcast_pass.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 775cbdc
Fix unittest of if and while with dynamic shape (#61972)
* fix third_party patch bug
* fix
* Add InferSymbolicShape interface for cinn.broadcast op
* clean code
* fix cmake patch command to avoid patching twice error
* Add more ops' InferSymbolicShape
* bug fix
* bug fix
* add cinn_BC
* fix concat
* Add InferSymbolicShape for if op
* update while test
* ci fix
* bug fix
* add while infer
* yield
* update
* fix confilct
* process 0D Tensor
* fix conflict
* fix conflict
* fix some bug of if
* refector lower cinn pass
* delete unused code
* update
* polish code
* fix bug
* fix broadcase
* fix bug
* fix bug of expand
* fix bug
* fix static shape bug
* fix bug
* polish code
* fix bug
* fix test_subgraph_checker
---------
Co-authored-by: risemeup1 <515586620@qq.com>
Co-authored-by: lanxianghit <lanxiang@outlook.com>
Co-authored-by: zhangbopd <1299246947@qq.com>
Co-authored-by: Silver Ling <silver.ling@outlook.com>1 parent 4ffb7da commit 775cbdcCopy full SHA for 775cbdc
File tree
Expand file treeCollapse file tree
23 files changed
+282
-114
lines changedFilter options
- paddle
- cinn
- hlir
- dialect/operator
- ir
- transforms
- group_merge
- framework/pir
- ir/schedule
- fluid/pir
- dialect/operator/interface/infer_symbolic_shape
- transforms
- test/ir/pir/cinn
- symbolic
Expand file treeCollapse file tree
23 files changed
+282
-114
lines changedpaddle/cinn/hlir/dialect/operator/ir/manual_op.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.cc+15Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
| |||
104 | 105 |
| |
105 | 106 |
| |
106 | 107 |
| |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
107 | 122 |
| |
108 | 123 |
| |
109 | 124 |
| |
|
paddle/cinn/hlir/dialect/operator/ir/manual_op.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/ir/manual_op.h+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| |||
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
| 55 | + | |
| 56 | + | |
54 | 57 |
| |
55 | 58 |
| |
56 | 59 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.cc+35-1Lines changed: 35 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
173 | 174 |
| |
174 | 175 |
| |
175 | 176 |
| |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
176 | 194 |
| |
177 | 195 |
| |
178 | 196 |
| |
| |||
224 | 242 |
| |
225 | 243 |
| |
226 | 244 |
| |
227 |
| - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
228 | 258 |
| |
229 | 259 |
| |
230 | 260 |
| |
231 | 261 |
| |
232 | 262 |
| |
233 | 263 |
| |
234 | 264 |
| |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
235 | 269 |
| |
236 | 270 |
| |
237 | 271 |
|
paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.h+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
| 27 | + | |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
|
paddle/cinn/hlir/dialect/operator/transforms/add_cinn_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_cinn_pass.cc+37-5Lines changed: 37 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
98 | 97 |
| |
99 |
| - | |
100 | 98 |
| |
101 | 99 |
| |
102 | 100 |
| |
103 | 101 |
| |
104 | 102 |
| |
105 | 103 |
| |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
106 | 112 |
| |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
107 | 130 |
| |
108 |
| - | |
109 |
| - | |
110 | 131 |
| |
111 | 132 |
| |
112 |
| - | |
113 | 133 |
| |
114 | 134 |
| |
115 | 135 |
| |
116 | 136 |
| |
117 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
118 | 147 |
| |
119 | 148 |
| |
120 | 149 |
| |
| |||
148 | 177 |
| |
149 | 178 |
| |
150 | 179 |
| |
| 180 | + | |
| 181 | + | |
| 182 | + | |
151 | 183 |
| |
152 | 184 |
| |
153 | 185 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/dynamic_reshape_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/dynamic_reshape_pass.cc+5-26Lines changed: 5 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 |
| - | |
| 112 | + | |
113 | 113 |
| |
114 | 114 |
| |
115 |
| - | |
| 115 | + | |
116 | 116 |
| |
117 |
| - | |
| 117 | + | |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
| 122 | + | |
141 | 123 |
| |
142 | 124 |
| |
143 | 125 |
| |
144 |
| - | |
| 126 | + | |
145 | 127 |
| |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 | 128 |
| |
150 | 129 |
| |
151 | 130 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/fuse_shape_ops_into_generate_shape_op_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/fuse_shape_ops_into_generate_shape_op_pass.cc+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 |
| - | |
| 209 | + | |
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/group_merge/move_generate_shape_ops_to_prologue_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/move_generate_shape_ops_to_prologue_pass.cc+20-10Lines changed: 20 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
| 70 | + | |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
| 73 | + | |
74 | 74 |
| |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
79 | 92 |
| |
80 | 93 |
| |
81 | 94 |
| |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
| 95 | + | |
86 | 96 |
| |
87 | 97 |
| |
88 | 98 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_util.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_util.h+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
246 | 246 |
| |
247 | 247 |
| |
248 | 248 |
| |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
249 | 254 |
| |
250 | 255 |
| |
251 | 256 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/insert_broadcast_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/insert_broadcast_pass.cc+6-5Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
54 |
| - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 |
| |
56 | 59 |
| |
57 | 60 |
| |
58 | 61 |
| |
59 |
| - | |
60 | 62 |
| |
61 | 63 |
| |
62 | 64 |
| |
63 | 65 |
| |
64 | 66 |
| |
65 | 67 |
| |
66 | 68 |
| |
67 |
| - | |
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
72 | 73 |
| |
73 |
| - | |
| 74 | + | |
74 | 75 |
| |
75 | 76 |
| |
76 | 77 |
| |
| |||
120 | 121 |
| |
121 | 122 |
| |
122 | 123 |
| |
123 |
| - | |
| 124 | + | |
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
|
You can’t perform that action at this time.
0 commit comments