Method
__init__
(self, keys: KeysCollection, indices: Sequence[int] | None, allow_missing_keys: bool = False)
Source from the content-addressed store, hash-verified
| 641 | backend = Transpose.backend |
| 642 | |
| 643 | def __init__(self, keys: KeysCollection, indices: Sequence[int] | None, allow_missing_keys: bool = False) -> None: |
| 644 | super().__init__(keys, allow_missing_keys) |
| 645 | self.transform = Transpose(indices) |
| 646 | |
| 647 | def __call__(self, data: Mapping[Hashable, NdarrayOrTensor]) -> dict[Hashable, NdarrayOrTensor]: |
| 648 | d = dict(data) |
Callers
nothing calls this directly
Tested by
no test coverage detected