CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 11:34:56 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/"fc5f8076b1c81a2e1e441a70f8940c8e"
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=SaEf5H2hf1jesxqP6QvpT2d%2BOa004xOfYfjViUjU%2BSjZch1KqvULHGBTusWdVB8YGlq66Iv%2BqpiV1dymANhmtC2GVPC13R91XCmfV1kgi%2B8s%2Bg%2F46NwM72ap4ByGjUks4cvscfX%2F%2BvhMXBz4gM7slwVlSUOW%2Bt%2Bcx%2B4K6TCGiwhCEkH58Ud0g1zVtaL09WbzZniGqwrdJ0pd%2BNP4GGzdhwektNNdMn8V17HIlvLFzJgT2AtbU0F8X0RqbbSiOmRMyocNmJEZY8NkF8opkoDJZg%3D%3D--B0wqIHLKVoa0t%2FQV--R%2FihLV%2F15C227ajntXCZ2g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.186552017.1753702495; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 11:34:55 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 11:34:55 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9F6E:29FD1F:1A6A93E:21A43CB:6887605F
[Typing][A-91] Add type annotations for `paddle/metric/metrics.py` (#… · PaddlePaddle/Paddle@888f213 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/metric/metrics.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 888f213
authored
File tree
Expand file treeCollapse file tree
1 file changed
+83
-34
lines changedFilter options
- python/paddle/metric
Expand file treeCollapse file tree
1 file changed
+83
-34
lines changedpython/paddle/metric/metrics.py
Copy file name to clipboardExpand all lines: python/paddle/metric/metrics.py+83-34Lines changed: 83 additions & 34 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 |
| |
28 | 36 |
| |
29 | 37 |
| |
| |||
114 | 122 |
| |
115 | 123 |
| |
116 | 124 |
| |
117 |
| - | |
| 125 | + | |
118 | 126 |
| |
119 | 127 |
| |
120 | 128 |
| |
121 |
| - | |
| 129 | + | |
122 | 130 |
| |
123 | 131 |
| |
124 | 132 |
| |
| |||
127 | 135 |
| |
128 | 136 |
| |
129 | 137 |
| |
130 |
| - | |
| 138 | + | |
131 | 139 |
| |
132 | 140 |
| |
133 | 141 |
| |
| |||
143 | 151 |
| |
144 | 152 |
| |
145 | 153 |
| |
146 |
| - | |
| 154 | + | |
147 | 155 |
| |
148 | 156 |
| |
149 | 157 |
| |
| |||
152 | 160 |
| |
153 | 161 |
| |
154 | 162 |
| |
155 |
| - | |
| 163 | + | |
156 | 164 |
| |
157 | 165 |
| |
158 | 166 |
| |
159 | 167 |
| |
160 | 168 |
| |
161 | 169 |
| |
162 | 170 |
| |
163 |
| - | |
| 171 | + | |
164 | 172 |
| |
165 | 173 |
| |
166 | 174 |
| |
| |||
189 | 197 |
| |
190 | 198 |
| |
191 | 199 |
| |
192 |
| - | |
| 200 | + | |
193 | 201 |
| |
194 | 202 |
| |
195 | 203 |
| |
| |||
216 | 224 |
| |
217 | 225 |
| |
218 | 226 |
| |
| 227 | + | |
219 | 228 |
| |
220 | 229 |
| |
221 | 230 |
| |
| |||
238 | 247 |
| |
239 | 248 |
| |
240 | 249 |
| |
241 |
| - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
242 | 260 |
| |
243 | 261 |
| |
244 | 262 |
| |
245 | 263 |
| |
246 | 264 |
| |
247 | 265 |
| |
248 |
| - | |
| 266 | + | |
249 | 267 |
| |
250 | 268 |
| |
251 | 269 |
| |
| |||
276 | 294 |
| |
277 | 295 |
| |
278 | 296 |
| |
279 |
| - | |
| 297 | + | |
280 | 298 |
| |
281 | 299 |
| |
282 | 300 |
| |
| |||
300 | 318 |
| |
301 | 319 |
| |
302 | 320 |
| |
303 |
| - | |
| 321 | + | |
304 | 322 |
| |
305 | 323 |
| |
306 | 324 |
| |
307 | 325 |
| |
308 | 326 |
| |
309 | 327 |
| |
310 |
| - | |
| 328 | + | |
311 | 329 |
| |
312 | 330 |
| |
313 | 331 |
| |
| |||
318 | 336 |
| |
319 | 337 |
| |
320 | 338 |
| |
321 |
| - | |
| 339 | + | |
322 | 340 |
| |
323 | 341 |
| |
324 | 342 |
| |
325 | 343 |
| |
326 | 344 |
| |
327 | 345 |
| |
328 |
| - | |
| 346 | + | |
329 | 347 |
| |
330 | 348 |
| |
331 | 349 |
| |
| |||
397 | 415 |
| |
398 | 416 |
| |
399 | 417 |
| |
400 |
| - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
401 | 424 |
| |
402 | 425 |
| |
403 | 426 |
| |
404 | 427 |
| |
405 | 428 |
| |
406 |
| - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
407 | 434 |
| |
408 | 435 |
| |
409 | 436 |
| |
| |||
437 | 464 |
| |
438 | 465 |
| |
439 | 466 |
| |
440 |
| - | |
| 467 | + | |
441 | 468 |
| |
442 | 469 |
| |
443 | 470 |
| |
444 | 471 |
| |
445 | 472 |
| |
446 | 473 |
| |
447 |
| - | |
| 474 | + | |
448 | 475 |
| |
449 | 476 |
| |
450 | 477 |
| |
| |||
454 | 481 |
| |
455 | 482 |
| |
456 | 483 |
| |
457 |
| - | |
| 484 | + | |
458 | 485 |
| |
459 | 486 |
| |
460 | 487 |
| |
| |||
529 | 556 |
| |
530 | 557 |
| |
531 | 558 |
| |
532 |
| - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
533 | 563 |
| |
534 | 564 |
| |
535 | 565 |
| |
536 | 566 |
| |
537 | 567 |
| |
538 |
| - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
539 | 573 |
| |
540 | 574 |
| |
541 | 575 |
| |
| |||
569 | 603 |
| |
570 | 604 |
| |
571 | 605 |
| |
572 |
| - | |
| 606 | + | |
573 | 607 |
| |
574 | 608 |
| |
575 | 609 |
| |
| |||
579 | 613 |
| |
580 | 614 |
| |
581 | 615 |
| |
582 |
| - | |
| 616 | + | |
583 | 617 |
| |
584 | 618 |
| |
585 | 619 |
| |
586 | 620 |
| |
587 | 621 |
| |
588 | 622 |
| |
589 |
| - | |
| 623 | + | |
590 | 624 |
| |
591 | 625 |
| |
592 | 626 |
| |
| |||
612 | 646 |
| |
613 | 647 |
| |
614 | 648 |
| |
615 |
| - | |
616 | 649 |
| |
617 | 650 |
| |
618 | 651 |
| |
| |||
675 | 708 |
| |
676 | 709 |
| |
677 | 710 |
| |
678 |
| - | |
679 |
| - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
680 | 718 |
| |
681 | 719 |
| |
682 | 720 |
| |
| |||
686 | 724 |
| |
687 | 725 |
| |
688 | 726 |
| |
689 |
| - | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
690 | 732 |
| |
691 | 733 |
| |
692 | 734 |
| |
| |||
718 | 760 |
| |
719 | 761 |
| |
720 | 762 |
| |
721 |
| - | |
| 763 | + | |
722 | 764 |
| |
723 | 765 |
| |
724 |
| - | |
| 766 | + | |
725 | 767 |
| |
726 | 768 |
| |
727 | 769 |
| |
| |||
747 | 789 |
| |
748 | 790 |
| |
749 | 791 |
| |
750 |
| - | |
| 792 | + | |
751 | 793 |
| |
752 | 794 |
| |
753 | 795 |
| |
754 | 796 |
| |
755 | 797 |
| |
756 | 798 |
| |
757 | 799 |
| |
758 |
| - | |
| 800 | + | |
759 | 801 |
| |
760 | 802 |
| |
761 | 803 |
| |
762 | 804 |
| |
763 | 805 |
| |
764 | 806 |
| |
765 |
| - | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
766 | 815 |
| |
767 | 816 |
| |
768 | 817 |
| |
| |||
778 | 827 |
| |
779 | 828 |
| |
780 | 829 |
| |
781 |
| - | |
| 830 | + | |
782 | 831 |
| |
783 | 832 |
| |
784 | 833 |
| |
|
You can’t perform that action at this time.
0 commit comments