class_docstr: Transforms an image into multiple views and grids.
  
  Used for VICRegL.
  
  Attributes:
      transforms:
          A sequence of (image_grid_transform, view_transform) tuples.
          The image_grid_transform creates a new view and grid from the image.
          The view_transform further augments the view. Every transform tuple
          is applied once to the image, creating len(transforms) views and
          grids.
class_docstr_tok: ["Transforms","an","image","into","multiple","views","and","grids",".","Used","for","VICRegL",".","Attributes",":","transforms",":","A","sequence","of","(","image_grid_transform",",","view_transform",")","tuples",".","The","image_grid_transform","creates","a","new","view","and","grid","from","the","image",".","The","view_transform","further","augments","the","view",".","Every","transform","tuple","is","applied","once","to","the","image",",","creating","len","(","transforms",")","views","and","grids","."]
code: def __init__(self, transforms: Sequence[T.Compose]):
      self.transforms = transforms
  
imports: from typing import List, Sequence, Union
  import torchvision.transforms
  from PIL.Image import Image
  from torch import Tensor
label_desc: Use image node_id 1 to create a new ImageGridTransform object  with example: obj = ImageGridTransform(transforms)