MCPcopy Create free account
hub / github.com/cvg/NoPoSplat / Decoder

Class Decoder

src/model/decoder/decoder.py:27–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27class Decoder(nn.Module, ABC, Generic[T]):
28 cfg: T
29
30 def __init__(self, cfg: T) -> None:
31 super().__init__()
32 self.cfg = cfg
33
34 @abstractmethod
35 def forward(
36 self,
37 gaussians: Gaussians,
38 extrinsics: Float[Tensor, "batch view 4 4"],
39 intrinsics: Float[Tensor, "batch view 3 3"],
40 near: Float[Tensor, "batch view"],
41 far: Float[Tensor, "batch view"],
42 image_shape: tuple[int, int],
43 depth_mode: DepthRenderingMode | None = None,
44 ) -> DecoderOutput:
45 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected