MCPcopy Create free account
hub / github.com/apple/ml-sharp / GaussianBaseValues

Class GaussianBaseValues

src/sharp/models/initializer.py:33–48  ·  view source on GitHub ↗

Base values for gaussian predictor. We predict x and y in normalized device coordinates (NDC) where (-1, -1) is the top left corner and (1, 1) the bottom right corner. The last component of mean_vectors_ndc is inverse depth.

Source from the content-addressed store, hash-verified

31
32
33class GaussianBaseValues(NamedTuple):
34 """Base values for gaussian predictor.
35
36 We predict x and y in normalized device coordinates (NDC) where (-1, -1) is the top
37 left corner and (1, 1) the bottom right corner. The last component of
38 mean_vectors_ndc is inverse depth.
39 """
40
41 mean_x_ndc: torch.Tensor
42 mean_y_ndc: torch.Tensor
43 mean_inverse_z_ndc: torch.Tensor
44
45 scales: torch.Tensor
46 quaternions: torch.Tensor
47 colors: torch.Tensor
48 opacities: torch.Tensor
49
50
51class InitializerOutput(NamedTuple):

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected