(self, key: str, item: Any)
| 27 | self._stats = dict(**kwargs) |
| 28 | |
| 29 | def __setitem__(self, key: str, item: Any) -> None: |
| 30 | assert isinstance( |
| 31 | item, (list, np.ndarray, torch.Tensor) |
| 32 | ), "MaskData only supports list, numpy arrays, and torch tensors." |
| 33 | self._stats[key] = item |
| 34 | |
| 35 | def __delitem__(self, key: str) -> None: |
| 36 | del self._stats[key] |
nothing calls this directly
no outgoing calls
no test coverage detected