CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 08:46:20 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/"4472091568ffd335a958a51e03bc16fe"
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=%2B86FPol4suuMPG1dKHIQMth5ak1K6f8o04gPAqZ6DbBj7quq6h769TfUr9GSQT1zzrTiMhIRVDxYiJoJLJBBAxQqwFRYamGpmdEiQyK84oT7YNZ1NiBmQCrIYLzpqnz9b0Ca%2BAXJY5o0Ps6WN3jGnPucl%2FVBbS%2FEVSLKrua3XnJnI3HBNncwnlpaA0yZ1vS8jBQ3gy3iy4thfWHvqypwUzpnwNSQbrdzLJXzlgqt8f4dNxeI7lDYnS0WHfhvy5IlLl9%2FZTH01KTBxid4x24XZQ%3D%3D--Kz6ACpp7e%2FrN2op9--u7k209XjeXDRSAa4u0d8Qg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.18128985.1753433179; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:46:19 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 08:46:19 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B5B6:11D253:59508A:6B7031:6883445B
【Hackathon 6th No.9】fix reshape op with zero-size tensor input in sta… · PaddlePaddle/Paddle@61bb43a · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/operators/reshape_op.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/reshape_kernel.cc
Copy file name to clipboardExpand all lines: python/paddle/tensor/manipulation.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_zero_size_tensor.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 61bb43a
File tree
Expand file treeCollapse file tree
4 files changed
+103
-67
lines changedFilter options
- paddle
- fluid/operators
- phi/kernels
- python/paddle/tensor
- test/legacy_test
Expand file treeCollapse file tree
4 files changed
+103
-67
lines changedpaddle/fluid/operators/reshape_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/operators/reshape_op.cc+55-53Lines changed: 55 additions & 53 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 | 142 |
| |
151 | 143 |
| |
152 | 144 |
| |
| 145 | + | |
153 | 146 |
| |
154 |
| - | |
| 147 | + | |
| 148 | + | |
155 | 149 |
| |
156 | 150 |
| |
157 | 151 |
| |
| |||
161 | 155 |
| |
162 | 156 |
| |
163 | 157 |
| |
164 |
| - | |
165 |
| - | |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 |
| - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
177 | 185 |
| |
178 | 186 |
| |
179 | 187 |
| |
| |||
185 | 193 |
| |
186 | 194 |
| |
187 | 195 |
| |
| 196 | + | |
| 197 | + | |
188 | 198 |
| |
| 199 | + | |
189 | 200 |
| |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
195 | 214 |
| |
196 | 215 |
| |
| 216 | + | |
| 217 | + | |
| 218 | + | |
197 | 219 |
| |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
204 | 223 |
| |
205 | 224 |
| |
206 |
| - | |
| 225 | + | |
207 | 226 |
| |
208 | 227 |
| |
209 | 228 |
| |
| |||
215 | 234 |
| |
216 | 235 |
| |
217 | 236 |
| |
| 237 | + | |
218 | 238 |
| |
219 | 239 |
| |
220 | 240 |
| |
221 |
| - | |
| 241 | + | |
222 | 242 |
| |
223 | 243 |
| |
224 | 244 |
| |
| |||
235 | 255 |
| |
236 | 256 |
| |
237 | 257 |
| |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 | 258 |
| |
257 | 259 |
| |
258 | 260 |
| |
|
paddle/phi/kernels/reshape_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/reshape_kernel.cc+2-7Lines changed: 2 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
| 35 | + | |
39 | 36 |
| |
40 | 37 |
| |
41 | 38 |
| |
| |||
57 | 54 |
| |
58 | 55 |
| |
59 | 56 |
| |
60 |
| - | |
61 |
| - | |
62 |
| - | |
| 57 | + | |
63 | 58 |
| |
64 | 59 |
| |
65 | 60 |
| |
|
python/paddle/tensor/manipulation.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/manipulation.py+8-6Lines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
4721 | 4722 |
| |
4722 | 4723 |
| |
4723 | 4724 |
| |
4724 |
| - | |
4725 |
| - | |
4726 |
| - | |
4727 |
| - | |
4728 |
| - | |
4729 |
| - | |
| 4725 | + | |
| 4726 | + | |
| 4727 | + | |
| 4728 | + | |
| 4729 | + | |
| 4730 | + | |
| 4731 | + | |
4730 | 4732 |
| |
4731 | 4733 |
| |
4732 | 4734 |
| |
|
test/legacy_test/test_zero_size_tensor.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_zero_size_tensor.py+38-1Lines changed: 38 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
22 | 24 |
| |
| 25 | + | |
23 | 26 |
| |
24 | 27 |
| |
25 | 28 |
| |
| |||
39 | 42 |
| |
40 | 43 |
| |
41 | 44 |
| |
42 |
| - | |
| 45 | + | |
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
| |||
77 | 80 |
| |
78 | 81 |
| |
79 | 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 | + | |
80 | 117 |
| |
81 | 118 |
| |
82 | 119 |
|
You can’t perform that action at this time.
0 commit comments