mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-21 23:00:34 +08:00
more code blocks for readthedocs
Summary: More rst syntax fixes Reviewed By: davidsonic Differential Revision: D40977328 fbshipit-source-id: a3a3accbf2ba7cd9c84a0a82d0265010764a9d61
This commit is contained in:
committed by
Facebook GitHub Bot
parent
94f321fa3d
commit
a2c6af9250
@@ -208,8 +208,8 @@ def add_pointclouds_to_volumes(
|
||||
of `initial_volumes` with its `features` and `densities` updated with the
|
||||
result of the pointcloud addition.
|
||||
|
||||
Example:
|
||||
```
|
||||
Example::
|
||||
|
||||
# init a random point cloud
|
||||
pointclouds = Pointclouds(
|
||||
points=torch.randn(4, 100, 3), features=torch.rand(4, 100, 5)
|
||||
@@ -229,7 +229,6 @@ def add_pointclouds_to_volumes(
|
||||
initial_volumes=initial_volumes,
|
||||
mode="trilinear",
|
||||
)
|
||||
```
|
||||
|
||||
Args:
|
||||
pointclouds: Batch of 3D pointclouds represented with a `Pointclouds`
|
||||
|
||||
Reference in New Issue
Block a user