class_docstr: Lighting noise (see https://git.io/fhBOc)
class_docstr_tok: ["Lighting","noise","(","see","https",":","\/\/git.io\/fhBOc",")"]
code: def __call__(self, img):
      if self.alphastd == 0:
          return img
  
      alpha = img.new().resize_(3).normal_(0, self.alphastd)
      rgb = (
          self.eigvec.type_as(img)
          .clone()
          .mul(alpha.view(1, 3).expand(3, 3))
          .mul(self.eigval.view(1, 3).expand(3, 3))
          .sum(1)
          .squeeze()
      )
  
      return img.add(rgb.view(3, 1, 1).expand_as(img))
  
imports: import torch
  from torchvision import transforms
label_desc: Use image node_id 2 for calling the Lighting obj's underlying member method code with example usage: obj.__call__(img) and returns: img, img