CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 02:37:09 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/"ad2bc6741f6acc4bceb4320da42702fc"
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=fqQiiISqQ%2BEuQxZJmOJZIXY%2BPH7OVVQOTEz0LC%2BesOeLHymyXkpCCAumYb8bGHZSzSyUr26M296SyAhfhavGcwTT%2F%2BDDLsQQRh%2BR%2BsDwzRBS%2FBVgPlX1vfgUTRMkqf2rYHkLoplGT8zWGOPTQ9vhzdZJXXhSQH1Of2IWIqiq%2FT9Qi%2FrFBMrjZwymAC%2FlRn8j7v96kBpZC9wfHHPRkbNV4ItV59JNB7l2Xz3wWKr432XU9ts2QCL6threLJKSsnw18qRB9OCkI2b0b7q9UDibsg%3D%3D--bGFmBH%2B1wgsHpM9H--odSCLQOx%2BLOAgp1mUVUvHg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1731807329.1753497429; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 02:37:09 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 02:37:09 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 940E:37D5F1:CDDBB:143F36:68843F55
【SCU】【Paddle Tensor No.28-29】新增 `paddle.from_dlpack` , `paddle.to_dlp… · PaddlePaddle/Paddle@6de142c · GitHub
Copy file name to clipboardExpand all lines: test/legacy_test/test_dlpack.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 6de142c
File tree
Expand file treeCollapse file tree
2 files changed
+159
-62
lines changedFilter options
- python/paddle
- test/legacy_test
Expand file treeCollapse file tree
2 files changed
+159
-62
lines changed+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
587 | 587 |
| |
588 | 588 |
| |
589 | 589 |
| |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
590 | 594 |
| |
591 | 595 |
| |
592 | 596 |
| |
| |||
1188 | 1192 |
| |
1189 | 1193 |
| |
1190 | 1194 |
| |
| 1195 | + | |
| 1196 | + | |
1191 | 1197 |
|
test/legacy_test/test_dlpack.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_dlpack.py+153-62Lines changed: 153 additions & 62 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 |
| |
32 |
| - | |
| 34 | + | |
33 | 35 |
| |
34 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 |
| |
36 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 |
| |
38 | 47 |
| |
39 | 48 |
| |
40 | 49 |
| |
41 | 50 |
| |
42 | 51 |
| |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
47 | 60 |
| |
48 | 61 |
| |
49 | 62 |
| |
| |||
52 | 65 |
| |
53 | 66 |
| |
54 | 67 |
| |
55 |
| - | |
56 |
| - | |
57 |
| - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
58 | 78 |
| |
59 |
| - | |
| 79 | + | |
60 | 80 |
| |
61 | 81 |
| |
62 | 82 |
| |
| |||
67 | 87 |
| |
68 | 88 |
| |
69 | 89 |
| |
70 |
| - | |
71 |
| - | |
72 |
| - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
73 | 102 |
| |
74 |
| - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
75 | 108 |
| |
76 | 109 |
| |
77 | 110 |
| |
| |||
98 | 131 |
| |
99 | 132 |
| |
100 | 133 |
| |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
106 | 148 |
| |
107 | 149 |
| |
108 | 150 |
| |
| |||
112 | 154 |
| |
113 | 155 |
| |
114 | 156 |
| |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
120 | 171 |
| |
121 | 172 |
| |
122 | 173 |
| |
| |||
129 | 180 |
| |
130 | 181 |
| |
131 | 182 |
| |
132 |
| - | |
133 |
| - | |
134 |
| - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
135 | 189 |
| |
136 | 190 |
| |
137 | 191 |
| |
| |||
142 | 196 |
| |
143 | 197 |
| |
144 | 198 |
| |
145 |
| - | |
| 199 | + | |
| 200 | + | |
146 | 201 |
| |
147 | 202 |
| |
148 | 203 |
| |
| |||
153 | 208 |
| |
154 | 209 |
| |
155 | 210 |
| |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
161 | 221 |
| |
162 | 222 |
| |
163 | 223 |
| |
| |||
168 | 228 |
| |
169 | 229 |
| |
170 | 230 |
| |
171 |
| - | |
172 |
| - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
173 | 235 |
| |
174 |
| - | |
175 |
| - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
176 | 240 |
| |
177 | 241 |
| |
178 | 242 |
| |
| |||
183 | 247 |
| |
184 | 248 |
| |
185 | 249 |
| |
186 |
| - | |
187 |
| - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
188 | 254 |
| |
189 |
| - | |
190 |
| - | |
191 |
| - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
192 | 261 |
| |
193 | 262 |
| |
194 | 263 |
| |
195 | 264 |
| |
196 | 265 |
| |
197 |
| - | |
| 266 | + | |
| 267 | + | |
198 | 268 |
| |
199 |
| - | |
200 |
| - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
201 | 277 |
| |
202 | 278 |
| |
203 | 279 |
| |
| |||
207 | 283 |
| |
208 | 284 |
| |
209 | 285 |
| |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 |
| - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
217 | 300 |
| |
218 | 301 |
| |
219 | 302 |
| |
| |||
223 | 306 |
| |
224 | 307 |
| |
225 | 308 |
| |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
233 | 323 |
| |
234 | 324 |
| |
235 | 325 |
| |
236 | 326 |
| |
237 | 327 |
| |
| 328 | + | |
238 | 329 |
| |
239 | 330 |
| |
240 | 331 |
| |
|
You can’t perform that action at this time.
0 commit comments