(
self,
keys: KeysCollection,
patch_size: Sequence[int],
start_pos: Sequence[int] = (),
mode: str | None = NumpyPadMode.WRAP,
**pad_opts,
)
| 128 | start_pos_key = "start_pos" |
| 129 | |
| 130 | def __init__( |
| 131 | self, |
| 132 | keys: KeysCollection, |
| 133 | patch_size: Sequence[int], |
| 134 | start_pos: Sequence[int] = (), |
| 135 | mode: str | None = NumpyPadMode.WRAP, |
| 136 | **pad_opts, |
| 137 | ): |
| 138 | self.keys = ensure_tuple(keys) |
| 139 | self.patch_iter = PatchIter(patch_size=patch_size, start_pos=start_pos, mode=mode, **pad_opts) |
| 140 | |
| 141 | def __call__( |
| 142 | self, data: Mapping[Hashable, NdarrayTensor] |
nothing calls this directly
no test coverage detected