(
cfg: BackboneCfg,
num_frames: int | None,
image_shape: tuple[int, int] | None,
)
| 11 | |
| 12 | |
| 13 | def get_backbone( |
| 14 | cfg: BackboneCfg, |
| 15 | num_frames: int | None, |
| 16 | image_shape: tuple[int, int] | None, |
| 17 | ) -> Backbone: |
| 18 | return BACKBONES[cfg.name](cfg, num_frames, image_shape) |