class_docstr: Convert image to :obj:`torch.Tensor` by given keys.
  
  The dimension order of input image is (H, W, C). The pipeline will convert
  it to (C, H, W). If only 2 dimension (H, W) is given, the output would be
  (1, H, W).
  
  Args:
      keys (Sequence[str]): Key of images to be converted to Tensor.
code: def __repr__(self):
      return self.__class__.__name__ + f"(keys={self.keys})"
  
imports: from typing import Optional, Sequence
  import numpy
  from mmcv.transforms import to_tensor
  from mmcv.transforms.base import BaseTransform
  from mmengine.structures import InstanceData, PixelData
  from mmdet.registry import TRANSFORMS
  from mmdet.structures import DetDataSample, ReIDDataSample, TrackDataSample
  from mmdet.structures.bbox import BaseBoxes
label_desc: Use image node_id 3 for calling the ImageToTensor obj's underlying member method code with example usage: obj.__repr__() and returns: unknown