CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 18:56: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/"eaa198760e8af113175600fba1466217"
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=MRhFtxNLuztZ8pallP%2Fx23cl8IwbGba8AlwGN%2B%2F1cJMZCfwEPsdG5t3f52dgFMg1aeBeKAKVVDxIegpisGErvYeGhTEwFP4u%2FPBcp0qYUnnzthcADaeb7Xjvr2c86LyAVjs9kfrhRMbmQKiyk1D549nTN9%2FmNd6N2bn4ITQ6OEhj07K%2BlFEYOR1lGfb2Ato1YnlJUZzS1sbOG3277lryHiKauBG9o5Gcfin%2BREqibdXYSLcLTrQPCCP2XXV4ak8%2Bglj96dT1vr4s5sCkplSf2g%3D%3D--m%2FS1NL6b7qhGHleW--61zfOgtfH0yk1OsieGsYcg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.921694496.1753642615; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 18:56:55 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 18:56:55 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A5C0:32A0BD:792671:9EACE0:68867677
[Paddle Tensorrt] pd_op.one_hot converter (#68878) · PaddlePaddle/Paddle@b520336 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/tensorrt/trt_op_marker_pass.cc
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/converter.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/export.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/creation.py
Copy file name to clipboard
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/search.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/register.py
Copy file name to clipboardExpand all lines: test/tensorrt/CMakeLists.txt
Copy file name to clipboardExpand all lines: test/tensorrt/test_converter_attribute.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit b520336
authored
[Paddle Tensorrt] pd_op.one_hot converter (#68878)
* pd_op.one_hot
* 添加单测
* 针对int32的修改单测基类
* 单测基类的修改
* 忘机加int32
* fix
* fix
* fix
* fix
* fix
* 打印日志
* fix单测
* fix
* 变量给默认值
* fix
* fix
* fix
* fix
* merge develop
* 适配int64输入
* fix
* fix
* fix
* fix pd_op.topk
* fix
* fix
* ci不显示
* 修改pd_op.assign_value_,只支持静态shape
* fix
* 禁止dynamic_shape pd_op.assign_value进入trt
* merge develop
* fix
* fix
* fix
* 限制value和shape维度相同
* fix
* fix
* fix
* fix
* fix
* 注释
* 注释1 parent 07be14b commit b520336Copy full SHA for b520336
File tree
Expand file treeCollapse file tree
14 files changed
+447
-151
lines changedFilter options
- paddle/fluid/pir/transforms/tensorrt
- python/paddle/tensorrt
- impls
- test/tensorrt
Expand file treeCollapse file tree
14 files changed
+447
-151
lines changedpaddle/fluid/pir/transforms/tensorrt/trt_op_marker_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/tensorrt/trt_op_marker_pass.cc+99-2Lines changed: 99 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
82 | 81 |
| |
83 | 82 |
| |
84 | 83 |
| |
| |||
1819 | 1818 |
| |
1820 | 1819 |
| |
1821 | 1820 |
| |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
1822 | 1826 |
| |
1823 | 1827 |
| |
1824 | 1828 |
| |
| |||
1987 | 1991 |
| |
1988 | 1992 |
| |
1989 | 1993 |
| |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
1990 | 2085 |
| |
1991 | 2086 |
| |
1992 | 2087 |
| |
| |||
2024 | 2119 |
| |
2025 | 2120 |
| |
2026 | 2121 |
| |
2027 |
| - | |
2028 | 2122 |
| |
2029 | 2123 |
| |
2030 | 2124 |
| |
| |||
2095 | 2189 |
| |
2096 | 2190 |
| |
2097 | 2191 |
| |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
2098 | 2195 |
| |
2099 | 2196 |
| |
2100 | 2197 |
| |
|
python/paddle/tensorrt/converter.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/converter.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
|
python/paddle/tensorrt/export.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/export.py+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
| 163 | + | |
164 | 164 |
| |
165 | 165 |
| |
166 |
| - | |
167 | 166 |
| |
168 | 167 |
| |
169 | 168 |
| |
|
python/paddle/tensorrt/impls/creation.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/creation.py+22-3Lines changed: 22 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| 61 | + | |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
67 |
| - | |
68 |
| - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
69 | 89 |
| |
70 |
| - | |
71 | 90 |
| |
72 | 91 |
| |
73 | 92 |
| |
|
python/paddle/tensorrt/impls/input.py
Copy file name to clipboard+62Lines changed: 62 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + |
python/paddle/tensorrt/impls/search.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/search.py+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
160 |
| - | |
161 | 160 |
| |
162 | 161 |
| |
163 | 162 |
| |
164 | 163 |
| |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 |
| |
166 | 170 |
| |
167 | 171 |
| |
| |||
174 | 178 |
| |
175 | 179 |
| |
176 | 180 |
| |
177 |
| - | |
| 181 | + | |
| 182 | + | |
178 | 183 |
| |
179 | 184 |
| |
180 | 185 |
| |
|
python/paddle/tensorrt/register.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/register.py+46-15Lines changed: 46 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
57 | 88 |
| |
58 | 89 |
| |
59 | 90 |
|
test/tensorrt/CMakeLists.txt
Copy file name to clipboardExpand all lines: test/tensorrt/CMakeLists.txt+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
|
test/tensorrt/test_converter_attribute.py
Copy file name to clipboardExpand all lines: test/tensorrt/test_converter_attribute.py+15-1Lines changed: 15 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
28 | 42 |
| |
29 | 43 |
| |
30 | 44 |
| |
|
You can’t perform that action at this time.
0 commit comments