cerebras.modelzoo.data.vision.segmentation.preprocessing_utils.normalize_tensor_transform#

cerebras.modelzoo.data.vision.segmentation.preprocessing_utils.normalize_tensor_transform(img, normalize_data_method)[source]#

Function to normalize img :params img: Input torch.Tensor of any shape :params normalize_data_method: One of

“zero_centered” “zero_one” “standard_score”