Unverified Commit 93c059ea authored by Ruilong Li(李瑞龙)'s avatar Ruilong Li(李瑞龙) Committed by GitHub
Browse files

fix doc (#23)

* dyn

* clean up for dyn

* update test

* ngp is up and running but slow

* benchmark on three examples

* fix and update ngp in readme

* clean up and expose volumetric_rendering_pipeline

* update doc and fix import

* fix import

* fix doc
parent ef812085
...@@ -174,7 +174,7 @@ def volumetric_rendering_weights( ...@@ -174,7 +174,7 @@ def volumetric_rendering_weights(
sigmas: Tensor, sigmas: Tensor,
frustum_starts: Tensor, frustum_starts: Tensor,
frustum_ends: Tensor, frustum_ends: Tensor,
) -> Tuple[Tensor, Tensor]: ) -> Tensor:
"""Compute weights for volumetric rendering. """Compute weights for volumetric rendering.
Note: this function is only differentiable to `sigmas`. Note: this function is only differentiable to `sigmas`.
...@@ -189,9 +189,7 @@ def volumetric_rendering_weights( ...@@ -189,9 +189,7 @@ def volumetric_rendering_weights(
shape (n_samples, 1). shape (n_samples, 1).
Returns: Returns:
A tuple of tensors containing Volumetric rendering weights for those samples. Tensor with shape (n_samples).
- **weights**: Volumetric rendering weights for those samples. Tensor with shape (n_samples).
""" """
if ( if (
......
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