CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 04:49:03 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/"3c10436450e8336ea600e90419188cfd"
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=5TAu62hTUz0bezI8hMIzDJFhDjNLbLFqe6V1kC5c9%2FBwI86W%2BbwXNMkqO6Ex2d7MUYr65yX%2Fcl55yAEu5%2FO%2BfLFw4yoc%2BPwevt3XV4g4ZCNKg5E7ORMXsL5Qvdo%2BdlZpydsmEnPM3sv3TYjJJ3FQY0GPp3Pnha6X%2B1f9P00t0jFzDQHF7SUd9QaIAjmNhvEWFS9063kTYAfyIqZur6zu7SQsvfXEIRxckB%2FxmlgccwvTFAhd%2FE6kxSC4Vq8ZW%2Be9l9xlzEXi1j1ePCm8c8L87Q%3D%3D--kK%2FgTZtjsidaRuW0--Ky8HQXJ2cNXwY8oJ4r2v8w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1148876654.1753332542; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 04:49:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 04:49:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B60A:0A62:217E1B:2E9A66:6881BB3E
Add mock shape analysis (#59032) · PaddlePaddle/Paddle@feae420 · GitHub
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/cinn_group_lowering_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/cinn_group_lowering_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/group_with_group_merge_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir/group.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/CMakeLists.txt
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit feae420
authored
Add mock shape analysis (#59032)
* add mock shape analysis for cinn
* fix fake data
* refine and test the symdim
* refactor code
* fix compile
* modify kDynamic
* fix complie bug
* fix unittest
* add unittest for GetOrCreateSymbolicDimsForRankedValue1 parent ed51632 commit feae420Copy full SHA for feae420
File tree
Expand file treeCollapse file tree
13 files changed
+310
-23
lines changedFilter options
- paddle
- cinn/hlir
- dialect/operator/transforms/group_merge
- framework/pir
- fluid
- pir/transforms
- pybind
- pir/dialect/shape/utils
- test/cpp/pir/shape_dialect
Expand file treeCollapse file tree
13 files changed
+310
-23
lines changedpaddle/cinn/hlir/dialect/operator/transforms/group_merge/cinn_group_lowering_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/cinn_group_lowering_pass.cc+26-9Lines changed: 26 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
130 | 131 |
| |
131 | 132 |
| |
132 | 133 |
| |
133 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 |
| |
135 | 140 |
| |
136 | 141 |
| |
| |||
154 | 159 |
| |
155 | 160 |
| |
156 | 161 |
| |
157 |
| - | |
| 162 | + | |
| 163 | + | |
158 | 164 |
| |
159 | 165 |
| |
160 |
| - | |
161 |
| - | |
| 166 | + | |
| 167 | + | |
162 | 168 |
| |
163 | 169 |
| |
164 | 170 |
| |
165 | 171 |
| |
| 172 | + | |
166 | 173 |
| |
167 | 174 |
| |
168 | 175 |
| |
| |||
202 | 209 |
| |
203 | 210 |
| |
204 | 211 |
| |
| 212 | + | |
| 213 | + | |
| 214 | + | |
205 | 215 |
| |
206 | 216 |
| |
207 | 217 |
| |
208 | 218 |
| |
209 |
| - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
210 | 223 |
| |
211 | 224 |
| |
212 | 225 |
| |
213 | 226 |
| |
214 | 227 |
| |
215 | 228 |
| |
216 | 229 |
| |
217 |
| - | |
| 230 | + | |
218 | 231 |
| |
219 | 232 |
| |
220 | 233 |
| |
221 | 234 |
| |
222 | 235 |
| |
223 | 236 |
| |
224 | 237 |
| |
| 238 | + | |
| 239 | + | |
| 240 | + | |
225 | 241 |
| |
226 | 242 |
| |
227 | 243 |
| |
| |||
230 | 246 |
| |
231 | 247 |
| |
232 | 248 |
| |
233 |
| - | |
234 |
| - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
235 | 252 |
| |
236 | 253 |
| |
237 | 254 |
| |
238 | 255 |
| |
239 | 256 |
| |
240 | 257 |
| |
241 |
| - | |
| 258 | + |
paddle/cinn/hlir/dialect/operator/transforms/group_merge/cinn_group_lowering_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/cinn_group_lowering_pass.h+4-1Lines changed: 4 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 |
| |
21 | 22 |
| |
22 | 23 |
| |
23 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 |
| |
25 | 28 |
| |
26 | 29 |
|
paddle/cinn/hlir/dialect/operator/transforms/group_merge/group_with_group_merge_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/group_with_group_merge_pass.cc+14-3Lines changed: 14 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1033 | 1033 |
| |
1034 | 1034 |
| |
1035 | 1035 |
| |
1036 |
| - | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1037 | 1040 |
| |
1038 | 1041 |
| |
1039 | 1042 |
| |
| |||
2123 | 2126 |
| |
2124 | 2127 |
| |
2125 | 2128 |
| |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
2126 | 2133 |
| |
2127 | 2134 |
| |
2128 | 2135 |
| |
2129 | 2136 |
| |
2130 | 2137 |
| |
2131 | 2138 |
| |
| 2139 | + | |
2132 | 2140 |
| |
2133 | 2141 |
| |
2134 |
| - | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
2135 | 2145 |
| |
2136 | 2146 |
| |
2137 | 2147 |
| |
2138 | 2148 |
| |
2139 | 2149 |
| |
2140 |
| - | |
| 2150 | + | |
| 2151 | + | |
2141 | 2152 |
| |
2142 | 2153 |
| |
2143 | 2154 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_pass.cc+14-3Lines changed: 14 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
249 | 252 |
| |
250 | 253 |
| |
251 | 254 |
| |
| |||
608 | 611 |
| |
609 | 612 |
| |
610 | 613 |
| |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
611 | 619 |
| |
612 | 620 |
| |
613 | 621 |
| |
| |||
625 | 633 |
| |
626 | 634 |
| |
627 | 635 |
| |
| 636 | + | |
628 | 637 |
| |
629 | 638 |
| |
630 | 639 |
| |
631 | 640 |
| |
632 |
| - | |
| 641 | + | |
| 642 | + | |
633 | 643 |
| |
634 | 644 |
| |
635 |
| - | |
| 645 | + | |
| 646 | + | |
636 | 647 |
| |
637 | 648 |
| |
638 | 649 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/group_merge/op_with_group_merge_pass.h+8-2Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
29 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 |
| |
31 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 |
| |
33 | 39 |
| |
34 | 40 |
| |
|
paddle/cinn/hlir/framework/pir/group.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir/group.h+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
| 77 | + | |
| 78 | + | |
76 | 79 |
| |
77 | 80 |
| |
78 | 81 |
| |
|
paddle/fluid/pir/transforms/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/CMakeLists.txt+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 |
| |
6 |
| - | |
| 8 | + | |
| 9 | + | |
7 | 10 |
| |
8 | 11 |
| |
9 | 12 |
| |
|
paddle/fluid/pir/transforms/infer_symbolic_shape_pass.cc
Copy file name to clipboard+131Lines changed: 131 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 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 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + |
You can’t perform that action at this time.
0 commit comments