"git@developer.sourcefind.cn:OpenDAS/torchani.git" did not exist on "648c970ecc19df3a51e52e7c7eb53d980d849da1"
Commit 876bdff2 authored by Martin Rünz's avatar Martin Rünz Committed by Facebook GitHub Bot
Browse files

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
parent 2f0fd601
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment