MCPcopy Create free account
hub / github.com/Kai-46/nerfplusplus / sample_pdf

Function sample_pdf

ddp_train_nerf.py:72–121  ·  view source on GitHub ↗

:param bins: tensor of shape [..., M+1], M is the number of bins :param weights: tensor of shape [..., M] :param N_samples: number of samples along each ray :param det: if True, will perform deterministic sampling :return: [..., N_samples]

(bins, weights, N_samples, det=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

render_single_imageFunction · 0.85
ddp_train_nerfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected