CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 21:00:55 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/facebookresearch/pytorch3d.git
etag: W/"39b7919cc573318731f1bcda77f505e9"
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=I8Q4AlCId8yaBRw3ar3EEzCy7p62ZmcamUuHMGKxqas9vhqKcY3kCGmXJapvGe0ydL%2FnrE%2Foss0BlL5A2Wiz8ptFv6GRK%2BBPRFtlVI4l%2FM2dqQbUCwqFbVyszsxMyMGVgtzhDtmyxde9J%2FusZMPBJC6XYaSHj9GUpPWrwDbdg20rPEHGL67f%2BP0M2BZF2SrRnHH1cHhF1yU1AmPOQAFQTAkvZzZO5hcIrLmw9fwJdkys8TbW06KF2N5dR4mHbZPxyowE02y8qWWFEVDgj23LVw%3D%3D--C16MXsaebnEcGxLt--eae4RipxYS7%2FMp%2BWFv8gkg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.715440015.1753650054; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:00:54 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:00:54 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BEA0:29054:7F8378:A6F9A1:68869386
Make some matrix conversion jittable (#898) · facebookresearch/pytorch3d@bee31c4 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/transforms/rotation_conversions.py
Copy file name to clipboardExpand all lines: tests/test_rotation_conversions.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit bee31c4
Make some matrix conversion jittable (#898)
Summary:
Make sure the functions from `rotation_conversion` are jittable, and add some type hints.
Add tests to verify this is the case.
Pull Request resolved: #898
Reviewed By: patricklabatut
Differential Revision: D31926103
Pulled By: bottler
fbshipit-source-id: bff6013c5ca2d452e37e631bd902f0674d5ca0911 parent 29417d1 commit bee31c4Copy full SHA for bee31c4
File tree
Expand file treeCollapse file tree
2 files changed
+61
-30
lines changedFilter options
- pytorch3d/transforms
- tests
Expand file treeCollapse file tree
2 files changed
+61
-30
lines changedpytorch3d/transforms/rotation_conversions.py
Copy file name to clipboardExpand all lines: pytorch3d/transforms/rotation_conversions.py+41-30Lines changed: 41 additions & 30 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
| |||
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
42 |
| - | |
| 41 | + | |
43 | 42 |
| |
44 | 43 |
| |
45 | 44 |
| |
| |||
70 | 69 |
| |
71 | 70 |
| |
72 | 71 |
| |
73 |
| - | |
| 72 | + | |
74 | 73 |
| |
75 | 74 |
| |
76 | 75 |
| |
| |||
114 | 113 |
| |
115 | 114 |
| |
116 | 115 |
| |
117 |
| - | |
| 116 | + | |
118 | 117 |
| |
119 | 118 |
| |
120 | 119 |
| |
| |||
142 | 141 |
| |
143 | 142 |
| |
144 | 143 |
| |
145 |
| - | |
| 144 | + | |
| 145 | + | |
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 |
| - | |
| 152 | + | |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
| 155 | + | |
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
| 175 | + | |
176 | 176 |
| |
177 |
| - | |
| 177 | + | |
178 | 178 |
| |
| 179 | + | |
| 180 | + | |
179 | 181 |
| |
180 | 182 |
| |
181 | 183 |
| |
182 | 184 |
| |
183 |
| - | |
| 185 | + | |
184 | 186 |
| |
185 | 187 |
| |
186 | 188 |
| |
| |||
201 | 203 |
| |
202 | 204 |
| |
203 | 205 |
| |
204 |
| - | |
205 |
| - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
206 | 212 |
| |
207 | 213 |
| |
208 | 214 |
| |
209 | 215 |
| |
210 |
| - | |
| 216 | + | |
211 | 217 |
| |
212 | 218 |
| |
213 | 219 |
| |
| |||
238 | 244 |
| |
239 | 245 |
| |
240 | 246 |
| |
241 |
| - | |
| 247 | + | |
242 | 248 |
| |
243 | 249 |
| |
244 | 250 |
| |
245 | 251 |
| |
246 | 252 |
| |
247 | 253 |
| |
| 254 | + | |
248 | 255 |
| |
249 | 256 |
| |
250 |
| - | |
| 257 | + | |
251 | 258 |
| |
252 | 259 |
| |
253 | 260 |
| |
| |||
291 | 298 |
| |
292 | 299 |
| |
293 | 300 |
| |
294 |
| - | |
| 301 | + | |
295 | 302 |
| |
296 | 303 |
| |
297 | 304 |
| |
| |||
305 | 312 |
| |
306 | 313 |
| |
307 | 314 |
| |
| 315 | + | |
| 316 | + | |
308 | 317 |
| |
309 | 318 |
| |
310 | 319 |
| |
| |||
313 | 322 |
| |
314 | 323 |
| |
315 | 324 |
| |
316 |
| - | |
| 325 | + | |
317 | 326 |
| |
318 | 327 |
| |
319 | 328 |
| |
| |||
332 | 341 |
| |
333 | 342 |
| |
334 | 343 |
| |
335 |
| - | |
| 344 | + | |
336 | 345 |
| |
337 | 346 |
| |
338 | 347 |
| |
| |||
347 | 356 |
| |
348 | 357 |
| |
349 | 358 |
| |
350 |
| - | |
| 359 | + | |
351 | 360 |
| |
352 | 361 |
| |
353 | 362 |
| |
| |||
362 | 371 |
| |
363 | 372 |
| |
364 | 373 |
| |
365 |
| - | |
| 374 | + | |
366 | 375 |
| |
367 | 376 |
| |
368 | 377 |
| |
| |||
383 | 392 |
| |
384 | 393 |
| |
385 | 394 |
| |
386 |
| - | |
| 395 | + | |
387 | 396 |
| |
388 | 397 |
| |
389 | 398 |
| |
| |||
400 | 409 |
| |
401 | 410 |
| |
402 | 411 |
| |
403 |
| - | |
| 412 | + | |
404 | 413 |
| |
405 | 414 |
| |
406 | 415 |
| |
| |||
413 | 422 |
| |
414 | 423 |
| |
415 | 424 |
| |
416 |
| - | |
| 425 | + | |
| 426 | + | |
417 | 427 |
| |
418 | 428 |
| |
419 |
| - | |
| 429 | + | |
420 | 430 |
| |
421 | 431 |
| |
422 | 432 |
| |
| |||
439 | 449 |
| |
440 | 450 |
| |
441 | 451 |
| |
442 |
| - | |
| 452 | + | |
443 | 453 |
| |
444 | 454 |
| |
445 | 455 |
| |
| |||
455 | 465 |
| |
456 | 466 |
| |
457 | 467 |
| |
458 |
| - | |
| 468 | + | |
459 | 469 |
| |
460 | 470 |
| |
461 | 471 |
| |
| |||
471 | 481 |
| |
472 | 482 |
| |
473 | 483 |
| |
474 |
| - | |
| 484 | + | |
475 | 485 |
| |
476 | 486 |
| |
477 | 487 |
| |
| |||
485 | 495 |
| |
486 | 496 |
| |
487 | 497 |
| |
488 |
| - | |
| 498 | + | |
489 | 499 |
| |
490 | 500 |
| |
491 | 501 |
| |
| |||
503 | 513 |
| |
504 | 514 |
| |
505 | 515 |
| |
506 |
| - | |
| 516 | + | |
507 | 517 |
| |
508 | 518 |
| |
509 | 519 |
| |
| |||
573 | 583 |
| |
574 | 584 |
| |
575 | 585 |
| |
576 |
| - | |
| 586 | + | |
| 587 | + |
tests/test_rotation_conversions.py
Copy file name to clipboardExpand all lines: tests/test_rotation_conversions.py+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
264 | 265 |
| |
265 | 266 |
| |
266 | 267 |
| |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
267 | 287 |
| |
268 | 288 |
| |
269 | 289 |
| |
|
You can’t perform that action at this time.
0 commit comments