Apply SkipConvBackbone to image.
(
self,
input_features: torch.Tensor,
encodings: list[torch.Tensor] | None = None,
)
| 105 | ) |
| 106 | |
| 107 | def forward( |
| 108 | self, |
| 109 | input_features: torch.Tensor, |
| 110 | encodings: list[torch.Tensor] | None = None, |
| 111 | ) -> ImageFeatures: |
| 112 | """Apply SkipConvBackbone to image.""" |
| 113 | output = self.conv(input_features) |
| 114 | return ImageFeatures( |
| 115 | texture_features=output, |
| 116 | geometry_features=output, |
| 117 | ) |
| 118 | |
| 119 | @property |
| 120 | def stride(self) -> int: |
nothing calls this directly
no test coverage detected