cellmap_data.transforms.augment.random_contrast# Classes RandomContrast([contrast_range]) Initialize the random contrast. class cellmap_data.transforms.augment.random_contrast.RandomContrast(contrast_range: Sequence[float] = (0.5, 1.5))[source]# Initialize the random contrast. Parameters: contrast_range (tuple, optional) – Contrast range. Defaults to (0.5, 1.5). forward(x: Tensor) → Tensor[source]# Forward pass. Parameters: x (Tensor) Return type: Tensor