(self, **kwargs)
| 20 | """ |
| 21 | |
| 22 | def __init__(self, **kwargs) -> None: |
| 23 | for v in kwargs.values(): |
| 24 | assert isinstance( |
| 25 | v, (list, np.ndarray, torch.Tensor) |
| 26 | ), "MaskData only supports list, numpy arrays, and torch tensors." |
| 27 | self._stats = dict(**kwargs) |
| 28 | |
| 29 | def __setitem__(self, key: str, item: Any) -> None: |
| 30 | assert isinstance( |
nothing calls this directly
no outgoing calls
no test coverage detected