CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 07:06:40 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/"05562198b8b02110bb305aa7d72743af"
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=xEhgNabZH4Ch%2BnZ7Qv2XU%2B2lpJhsYILgld2e3WgmfxlvX3M6Ws7M2rBPHhX6zLqL8zbeGsk%2BoDOjCFGduFfmnB2qqlOZ36RJlrBivlcS1Rh93FQV7lR7R8TiTk35Dmw08hlZciQ9stb4fL2G7LGYVXN2OxKCpueS1MZh%2FC%2B2WxHXiWv80spxHqqk%2FjNbonRIfDmPgKuBXEi4XIUBvKXln2MP4%2FyC2hJoS79Av%2F3THsoila%2BwpHPV2dldIr4O8LL9UqbED4VvG%2F%2F7eaHCFOlHOA%3D%3D--scf8vKqUnirmGtdN--wgrqgmxfUmvQk%2FZh96buwg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1459610095.1753427200; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:06:40 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:06:40 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DD76:2EEC20:3FB4F9:4EB638:68832D00
【Paddle Tensor 第二期 API支持 0-size Tensor】paddle.linspace 支持 0-size tens… · PaddlePaddle/Paddle@d785cf4 · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/linspace_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/linspace_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/linspace_kernel.cc
Copy file name to clipboardExpand all lines: test/legacy_test/test_linspace.py
Copy file name to clipboardExpand all lines: test/xpu/test_linspace_op_xpu.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit d785cf4
File tree
Expand file treeCollapse file tree
5 files changed
+71
-22
lines changedFilter options
- paddle/phi/kernels
- cpu
- gpu
- xpu
- test
- legacy_test
- xpu
Expand file treeCollapse file tree
5 files changed
+71
-22
lines changedpaddle/phi/kernels/cpu/linspace_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/linspace_kernel.cc+11-6Lines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
36 | 47 |
| |
37 | 48 |
| |
38 | 49 |
| |
39 | 50 |
| |
40 | 51 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 | 52 |
| |
48 | 53 |
| |
49 | 54 |
| |
|
paddle/phi/kernels/gpu/linspace_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/linspace_kernel.cu+9-8Lines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
90 | 89 |
| |
91 | 90 |
| |
92 | 91 |
| |
93 |
| - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
94 | 95 |
| |
95 | 96 |
| |
96 | 97 |
| |
|
paddle/phi/kernels/xpu/linspace_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/linspace_kernel.cc+9-8Lines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
69 | 68 |
| |
70 | 69 |
| |
71 | 70 |
| |
72 |
| - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
|
test/legacy_test/test_linspace.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_linspace.py+33Lines changed: 33 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
246 | 247 |
| |
247 | 248 |
| |
248 | 249 |
| |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
249 | 282 |
| |
250 | 283 |
|
test/xpu/test_linspace_op_xpu.py
Copy file name to clipboardExpand all lines: test/xpu/test_linspace_op_xpu.py+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
82 | 91 |
| |
83 | 92 |
| |
84 | 93 |
| |
|
You can’t perform that action at this time.
0 commit comments