mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Fix function call in Transform3d documentation (#233)
Summary: The documentation of `Transform3d` highlights that the class handles points as well as normals. However, `transform_points` is applied to points and normals in the documentation instead of using `transform_normals` for normals, which I believe was intended. This pull request fixes this typo in the documentation. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/233 Reviewed By: bottler Differential Revision: D22287642 Pulled By: nikhilaravi fbshipit-source-id: 0bc8754097b2e17a34fa3071319d00b78c3bc803
This commit is contained in:
parent
2f0fd60186
commit
876bdff2f6
@ -21,7 +21,7 @@ class Transform3d:
|
||||
points = torch.randn(N, P, 3)
|
||||
normals = torch.randn(N, P, 3)
|
||||
points_transformed = t.transform_points(points) # => (N, P, 3)
|
||||
normals_transformed = t.transform_points(normals) # => (N, P, 3)
|
||||
normals_transformed = t.transform_normals(normals) # => (N, P, 3)
|
||||
|
||||
|
||||
BROADCASTING
|
||||
|
Loading…
x
Reference in New Issue
Block a user