Remove defaults from docstrings. (#480)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-09-19 10:04:25 -07:00
1 parent f796a9f468
commit 8b388a3e5c
25 files changed
+106 -112

No files matched your search

+10 -10
View File
@@ -40,15 +40,15 @@ class VanillaNerfWField(Field):
Args:
num_images: How many images exist in the dataset.
position_encoding: Position encoder. Defaults to Identity(in_dim=3).
direction_encoding: Direction encoder. Defaults to Identity(in_dim=3).
base_mlp_num_layers: Number of layers for base MLP. Defaults to 8.
base_mlp_layer_width: Width of base MLP layers. Defaults to 256.
head_mlp_num_layers: Number of layer for ourput head MLP. Defaults to 2.
head_mlp_layer_width: Width of output head MLP layers. Defaults to 128.
appearance_embedding_dim:: Dimension of appearance embedding. Defaults to 48.
transient_embedding_dim:: Dimension of transient embedding. Defaults to 16.
skip_connections: Where to add skip connection in base MLP. Defaults to (4,).
position_encoding: Position encoder.
direction_encoding: Direction encoder.
base_mlp_num_layers: Number of layers for base MLP.
base_mlp_layer_width: Width of base MLP layers.
head_mlp_num_layers: Number of layer for ourput head MLP.
head_mlp_layer_width: Width of output head MLP layers.
appearance_embedding_dim:: Dimension of appearance embedding.
transient_embedding_dim:: Dimension of transient embedding.
skip_connections: Where to add skip connection in base MLP.
"""
def __init__(
@@ -121,7 +121,7 @@ class VanillaNerfWField(Field):
Args:
ray_samples (RaySamples): Ray samples.
density_embedding (TensorType[..., "embedding_size"], optional): Density embedding. Defaults to None.
density_embedding (TensorType[..., "embedding_size"], optional): Density embedding.
Returns:
Dict[FieldHeadNames, TensorType]: Outputs of the NeRF-W field.