(self, keys: KeysCollection, alpha: float = 0.5, allow_missing_keys: bool = False)
| 1533 | backend = GibbsNoise.backend |
| 1534 | |
| 1535 | def __init__(self, keys: KeysCollection, alpha: float = 0.5, allow_missing_keys: bool = False) -> None: |
| 1536 | MapTransform.__init__(self, keys, allow_missing_keys) |
| 1537 | self.transform = GibbsNoise(alpha) |
| 1538 | |
| 1539 | def __call__(self, data: Mapping[Hashable, NdarrayOrTensor]) -> dict[Hashable, NdarrayOrTensor]: |
| 1540 | d = dict(data) |
no test coverage detected