class_docstr: Convert a ``PIL Image`` to ``numpy.ndarray``.
  
  Converts a PIL Image (H x W x C) in the range [0, 255] to a ``numpy.array`` of shape 
  (C x H x W) in the range [0.0, 1.0]
  if the PIL Image belongs to one of the modes (L, LA, P, I, F, RGB, YCbCr, RGBA, CMYK, 1).
  
  In the other cases, tensors are returned without scaling.
  
  .. note::
      Because the input image is scaled to [0.0, 1.0], this transformation should not be used when
      transforming target image masks. 
code: def __repr__(self):
      return self.__class__.__name__ + "()"
  
file_path: singa/examples/demos/Classification/BloodMnist/transforms.py
imports: import numpy
  from PIL import Image
label_desc: Use image node_id 2 for calling the ToTensor obj's underlying member method code with example usage: obj.__repr__() and returns: unknown