code: def __init__(self, size):
      super().__init__()
  
      self.size = size
      if TORCHVISION_AVAILABLE:
          self.resize = torchvision.transforms.Resize(size=self.size)
      else:
          raise Exception("Resize transform requires torchvision")
  
file_path: NeMo/nemo/collections/multimodal/speech_cv/modules/video_preprocessing.py
imports: import torch
  from torch import nn
  from nemo.collections.multimodal.speech_cv.parts.submodules.permute import Permute
  from nemo.core.classes import NeuralModule, typecheck
label_desc: Use image node_id 1 to create a new ResizeVideo object from inherited base classes: NeuralModule with example: obj = ResizeVideo(size)