parameters: (self, img)
return_statement: return util.grayscale(img, num_output_channels=self.num_output_channels)
docstring: Call method.
  
          Args:
              img (PIL Image): Image to be converted to grayscale.
  
          Returns:
              PIL Image, converted grayscale image.
docstring_summary: Call method.
docstring_tokens: Call method .
function: def __call__(self, img):
          """
          Call method.
  
          Args:
              img (PIL Image): Image to be converted to grayscale.
  
          Returns:
              PIL Image, converted grayscale image.
          """
          return util.grayscale(img, num_output_channels=self.num_output_channels)
function_tokens: def __call__ ( self , img ) : return util . grayscale ( img , num_output_channels = self . num_output_channels )