mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-24 18:14:16 +08:00
Remove defaults from docstrings. (#480)
This commit is contained in:
1 parent
f796a9f468
commit
8b388a3e5c
25 files changed
+106
-112
No files matched your search
@@ -239,11 +239,11 @@ class PDFSampler(Sampler):
|
||||
|
||||
Args:
|
||||
num_samples: Number of samples per ray
|
||||
train_stratified: Randomize location within each bin during training. Defaults to True
|
||||
include_original: Add original samples to ray. Defaults to True
|
||||
train_stratified: Randomize location within each bin during training.
|
||||
include_original: Add original samples to ray.
|
||||
density_field: Density grid. If provides, samples below weight_threshold as set as invalid.
|
||||
weight_threshold: Removes samples below threshold weight. Only used if density field is provided.
|
||||
histogram_padding: Amount to weights prior to computing PDF. Defaults to 0.01.
|
||||
histogram_padding: Amount to weights prior to computing PDF.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
@@ -276,7 +276,7 @@ class PDFSampler(Sampler):
|
||||
ray_samples: Existing ray samples
|
||||
weights: Weights for each bin
|
||||
num_samples: Number of samples per ray
|
||||
eps: Small value to prevent numerical issues. Defaults to 1e-5
|
||||
eps: Small value to prevent numerical issues.
|
||||
|
||||
Returns:
|
||||
Positions and deltas for samples along a ray
|
||||
|
||||
Reference in new issue
Block a user