r""" This function processes the input tensor `x` through the adapter model and returns a list of feature tensors, each representing information extracted at a different scale from the input. The length of the list is determined by the number of downsample blocks in the Adapt
(self, x: torch.Tensor)
| 265 | ) |
| 266 | |
| 267 | def forward(self, x: torch.Tensor) -> List[torch.Tensor]: |
| 268 | r""" |
| 269 | This function processes the input tensor `x` through the adapter model and returns a list of feature tensors, |
| 270 | each representing information extracted at a different scale from the input. The length of the list is |
| 271 | determined by the number of downsample blocks in the Adapter, as specified by the `channels` and |
| 272 | `num_res_blocks` parameters during initialization. |
| 273 | """ |
| 274 | return self.adapter(x) |
| 275 | |
| 276 | @property |
| 277 | def total_downscale_factor(self): |
nothing calls this directly
no outgoing calls
no test coverage detected