MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / __init__

Method __init__

Module/Map/Graph.py:28–30  ·  view source on GitHub ↗
(self, index: torch.Tensor, data: dict[T_Fields, torch.Tensor])

Source from the content-addressed store, hash-verified

26 data: dict[T_Fields: Tensor(N, ...)]
27 """
28 def __init__(self, index: torch.Tensor, data: dict[T_Fields, torch.Tensor]):
29 self.index = index
30 self.data = data
31
32 @classmethod
33 def init(cls: type[Self], data: dict[T_Fields, torch.Tensor]) -> Self:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected