class_docstr: Add random Gaussian noise N(0, sigma^2) of the same shape to img.
class_docstr_tok: ["Add","random","Gaussian","noise","N","(","0",",","sigma^2",")","of","the","same","shape","to","img","."]
code: def _augment(self, img, noise):
      old_dtype = img.dtype
      ret = img + noise * self.sigma
      if self.clip or old_dtype == np.uint8:
          ret = np.clip(ret, 0, 255)
      return ret.astype(old_dtype)
  
file_path: tensorpack/tensorpack/dataflow/imgaug/noise.py
imports: import numpy
  import cv2
  from .base import PhotometricAugmentor
label_desc: Use image node_id 3 for calling the GaussianNoise obj's underlying member method code with example usage: obj._augment(img, noise) and returns: ret