| 25 | |
| 26 | |
| 27 | class 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 |
nothing calls this directly
no outgoing calls
no test coverage detected