cellmap_data.transforms.augment.nan_to_num

Contents

cellmap_data.transforms.augment.nan_to_num#

Classes

NaNtoNum(params)

Initialize the NaN to number transformation.

class cellmap_data.transforms.augment.nan_to_num.NaNtoNum(params: Dict[str, Any])[source]#

Initialize the NaN to number transformation.

Parameters:

params (Dict[str, Any]) – Parameters for the transformation. Defaults to {}, see https://pytorch.org/docs/stable/generated/torch.nan_to_num.html for details.