class_docstr: Gaussian blur augmentation in SimCLR https://arxiv.org/abs/2002.05709
class_docstr_tok: ["Gaussian","blur","augmentation","in","SimCLR","https",":","\/\/arxiv.org\/abs\/2002.05709"]
code: def __call__(self, x):
      if len(self.sigma) == 2:
          sigma = random.uniform(self.sigma[0], self.sigma[1])
      elif len(self.sigma) == 1:
          sigma = self.sigma[0]
      x = x.filter(ImageFilter.GaussianBlur(radius=sigma))
      return x
  
imports: import logging
  import math
  import numpy
  import random
  import torch
  import torchvision
  import torchvision.transforms.functional
  from PIL import Image, ImageFilter
  from scipy.ndimage import gaussian_filter
  from torchvision import transforms
  from .rand_augment import rand_augment_transform
  from .random_erasing import RandomErasing
label_desc: Use image node_id 2 for calling the GaussianBlur obj's underlying member method code with example usage: obj.__call__(x) and returns: x