MCPcopy Create free account
hub / github.com/dcharatan/flowmap / __init__

Method __init__

flowmap/model/backbone/backbone.py:23–32  ·  view source on GitHub ↗
(
        self,
        cfg: T,
        num_frames: int | None,
        image_shape: tuple[int, int] | None,
    )

Source from the content-addressed store, hash-verified

21 cfg: T
22
23 def __init__(
24 self,
25 cfg: T,
26 num_frames: int | None,
27 image_shape: tuple[int, int] | None,
28 ) -> None:
29 super().__init__()
30 self.cfg = cfg
31 self.num_frames = num_frames
32 self.image_shape = image_shape
33
34 @abstractmethod
35 def forward(self, batch: Batch, flows: Flows) -> BackboneOutput:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected