CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 02:50:43 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/"9703c030758156b8b68c159911eea2cd"
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=4Ju%2BE5vel1gdKmfmKErt4W0Z%2Bt99CgAqQHz2agshd7f5a%2FpOmjvox5f5ReCiLACs99JvOPDmXQR%2BLqGt1l0ecx4QxFHaIrMVKqpDsfPOqyq5trHGBbv6BkrjIB%2FSeEgWTWBOezpfXMm%2BLYbFurX2tLHbm1c5QRi2qh9wNIa6iI152PeuHqSsKzeM3CJ43bvR0HYCGdii%2F%2FwKjrhQeDCwY80zNuthIqxuTt5qwUYtg2unSvX7fgxB3OKez%2BEoXkWGANRrbzoxdikjnMsrHcfvCw%3D%3D--AfVPFlPLInx%2B4rtq--BF1cubICM4lQl16kkEmdIw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.92773017.1753671042; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:50:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 02:50:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B62A:93466:978FA8:CC354D:6886E582
[Paddle TensorRT] add pd_op.clip converter (#68778) · PaddlePaddle/Paddle@6bb1bcf · 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_utils.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/manipulation.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/math.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 clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 6bb1bcf
authored
[Paddle TensorRT] add pd_op.clip converter (#68778)
* add clip op converter
* add clip op converter
* "fix code style"
* fix review
* fix review
* fix review
* fix
* fix
* merge
* fix
* fix
* Update trt_op_marker_pass.cc
* Update trt_op_marker_pass.cc1 parent 8b6b703 commit 6bb1bcfCopy full SHA for 6bb1bcf
File tree
Expand file treeCollapse file tree
7 files changed
+245
-33
lines changedFilter options
- paddle/fluid/pir/transforms/tensorrt
- python/paddle/tensorrt
- impls
- test/tensorrt
Expand file treeCollapse file tree
7 files changed
+245
-33
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+27-1Lines changed: 27 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1497 | 1497 |
| |
1498 | 1498 |
| |
1499 | 1499 |
| |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
1500 | 1526 |
| |
1501 | 1527 |
| |
1502 | 1528 |
| |
| |||
1528 | 1554 |
| |
1529 | 1555 |
| |
1530 | 1556 |
| |
1531 |
| - | |
1532 | 1557 |
| |
1533 | 1558 |
| |
1534 | 1559 |
| |
| |||
1899 | 1924 |
| |
1900 | 1925 |
| |
1901 | 1926 |
| |
| 1927 | + | |
1902 | 1928 |
| |
1903 | 1929 |
| |
1904 | 1930 |
| |
|
python/paddle/tensorrt/converter_utils.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/converter_utils.py+62Lines changed: 62 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
173 | 220 |
| |
174 | 221 |
| |
175 | 222 |
| |
| |||
324 | 371 |
| |
325 | 372 |
| |
326 | 373 |
| |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
327 | 389 |
| |
328 | 390 |
| |
329 | 391 |
| |
|
python/paddle/tensorrt/impls/manipulation.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/manipulation.py+3-32Lines changed: 3 additions & 32 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| |||
226 | 227 |
| |
227 | 228 |
| |
228 | 229 |
| |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 | 230 |
| |
260 | 231 |
| |
261 | 232 |
| |
| |||
275 | 246 |
| |
276 | 247 |
| |
277 | 248 |
| |
278 |
| - | |
| 249 | + | |
279 | 250 |
| |
280 | 251 |
| |
281 | 252 |
| |
| |||
293 | 264 |
| |
294 | 265 |
| |
295 | 266 |
| |
296 |
| - | |
| 267 | + | |
297 | 268 |
| |
298 | 269 |
| |
299 | 270 |
| |
|
python/paddle/tensorrt/impls/math.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/impls/math.py+49Lines changed: 49 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| 28 | + | |
26 | 29 |
| |
| 30 | + | |
27 | 31 |
| |
28 | 32 |
| |
29 | 33 |
| |
| |||
105 | 109 |
| |
106 | 110 |
| |
107 | 111 |
| |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
108 | 157 |
| |
109 | 158 |
| |
110 | 159 |
| |
|
python/paddle/tensorrt/register.py
Copy file name to clipboardExpand all lines: python/paddle/tensorrt/register.py+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 |
| |
36 | 40 |
| |
37 | 41 |
| |
|
test/tensorrt/CMakeLists.txt
Copy file name to clipboardExpand all lines: test/tensorrt/CMakeLists.txt+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
|
test/tensorrt/test_converter_clip.py
Copy file name to clipboard+99Lines changed: 99 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 | + | |
| 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 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + |
You can’t perform that action at this time.
0 commit comments