CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 00:30:04 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/"10588ca284e3203e0f55c5da8c2e9142"
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=5iOW5MsV14J0U1ML2ClcyE5xxF3TkAsvm%2BQcx4yOK3NMxPlRd3rKll34NtUshSn9NhnB07PffBkQZxnXeoV0QgvEtKpn6lnfzeGntWZUWUoiXLEvy1R%2FqmSTgw8AljTFZOQObqQvLxZQzObHIpWzBu1j1Pnt5%2BJeHcoMdWpPzWLF6i3HLO2KHst9aNvrKdGhpi%2B%2FaedV6K8DVWW%2FkIeDcdUFGx7BPoff8gSRH4UlcFgC%2B%2FQ9J1FC5aRCqcm38cGzM18%2B0wJuhOQpPge0iFS3Ug%3D%3D--acUsZiZ4iftcX9FV--0d8q%2BBkkOvfAgdGMUsQ7Yg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1756762757.1753403403; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:30:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:30:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CDEA:C8A1:43772:6ADFB:6882D00B
Fix distribution API with 0-D input parameters 易用性提升 -part1 (#69090) · PaddlePaddle/Paddle@563317a · GitHub
Copy file name to clipboardExpand all lines: python/paddle/distribution/bernoulli.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/binomial.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/categorical.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/cauchy.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/continuous_bernoulli.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_binomial.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_binomial_static.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_continuous_bernoulli.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_continuous_bernoulli_static.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 563317a
File tree
Expand file treeCollapse file tree
9 files changed
+49
-19
lines changedFilter options
- python/paddle/distribution
- test/distribution
Expand file treeCollapse file tree
9 files changed
+49
-19
lines changedpython/paddle/distribution/bernoulli.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/bernoulli.py+6-4Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 |
| - | |
| 149 | + | |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
153 |
| - | |
| 153 | + | |
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
197 | 199 |
| |
198 | 200 |
| |
199 | 201 |
| |
| |||
204 | 206 |
| |
205 | 207 |
| |
206 | 208 |
| |
207 |
| - | |
| 209 | + | |
208 | 210 |
| |
209 | 211 |
| |
210 | 212 |
| |
|
python/paddle/distribution/binomial.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/binomial.py+1-4Lines changed: 1 addition & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
| 87 | + | |
91 | 88 |
| |
92 | 89 |
| |
93 | 90 |
| |
|
python/paddle/distribution/categorical.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/categorical.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 |
| - | |
| 151 | + | |
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
| 155 | + | |
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
|
python/paddle/distribution/cauchy.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/cauchy.py+8-4Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
125 | 127 |
| |
126 | 128 |
| |
127 | 129 |
| |
128 | 130 |
| |
129 | 131 |
| |
130 | 132 |
| |
131 |
| - | |
| 133 | + | |
132 | 134 |
| |
133 | 135 |
| |
134 | 136 |
| |
| |||
169 | 171 |
| |
170 | 172 |
| |
171 | 173 |
| |
172 |
| - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
173 | 177 |
| |
174 | 178 |
| |
175 | 179 |
| |
176 |
| - | |
| 180 | + | |
177 | 181 |
| |
178 | 182 |
| |
179 | 183 |
| |
|
python/paddle/distribution/continuous_bernoulli.py
Copy file name to clipboardExpand all lines: python/paddle/distribution/continuous_bernoulli.py+1-4Lines changed: 1 addition & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
| 121 | + | |
125 | 122 |
| |
126 | 123 |
| |
127 | 124 |
| |
|
test/distribution/test_distribution_binomial.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_binomial.py+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 |
| |
31 | 36 |
| |
32 | 37 |
| |
| |||
127 | 132 |
| |
128 | 133 |
| |
129 | 134 |
| |
130 |
| - | |
| 135 | + | |
131 | 136 |
| |
132 | 137 |
| |
133 | 138 |
| |
|
test/distribution/test_distribution_binomial_static.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_binomial_static.py+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 |
| |
36 | 41 |
| |
37 | 42 |
| |
| |||
127 | 132 |
| |
128 | 133 |
| |
129 | 134 |
| |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
130 | 141 |
| |
131 | 142 |
| |
132 | 143 |
| |
|
test/distribution/test_distribution_continuous_bernoulli.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_continuous_bernoulli.py+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
244 | 249 |
| |
245 | 250 |
| |
246 | 251 |
| |
| |||
297 | 302 |
| |
298 | 303 |
| |
299 | 304 |
| |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
300 | 310 |
| |
301 | 311 |
| |
302 | 312 |
| |
|
test/distribution/test_distribution_continuous_bernoulli_static.py
Copy file name to clipboardExpand all lines: test/distribution/test_distribution_continuous_bernoulli_static.py+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
162 | 166 |
| |
163 | 167 |
| |
164 | 168 |
| |
|
You can’t perform that action at this time.
0 commit comments