mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Fix lint
This commit is contained in:
1 parent
aa9a1a903f
commit
7622515e92
1 file changed
+2
-1
@@ -19,8 +19,9 @@ class RendererOutputs:
|
|||||||
class RGBRenderer(nn.Module):
|
class RGBRenderer(nn.Module):
|
||||||
"""Standard volumetic rendering."""
|
"""Standard volumetic rendering."""
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def forward(
|
def forward(
|
||||||
self,
|
cls,
|
||||||
rgb: TensorType[..., "num_samples", 3],
|
rgb: TensorType[..., "num_samples", 3],
|
||||||
weights: TensorType[..., "num_samples"],
|
weights: TensorType[..., "num_samples"],
|
||||||
) -> RendererOutputs:
|
) -> RendererOutputs:
|
||||||
|
|||||||
Reference in new issue
Block a user