docstr: Get parameters for ``crop`` for a random crop.
docstr_tok: ["Get","parameters","for","``","crop","``","for","a","random","crop","."]
code: def get_params(vid, output_size):
      """Get parameters for ``crop`` for a random crop."""
      h, w = vid.shape[-2:]
      th, tw = output_size
      if w == tw and h == th:
          return 0, 0, h, w
      i = random.randint(0, h - th)
      j = random.randint(0, w - tw)
      return i, j, th, tw
  
imports: import collections
  import importlib
  import logging
  import random
  import mmf.datasets.processors.functional
  import torch
  from mmf.common.registry import registry
  from mmf.datasets.processors import BaseProcessor
  from omegaconf import OmegaConf
  from torchvision import transforms
label_desc: Use image node_id 2 for calling the VideoRandomCrop obj's underlying member method code with example usage: obj.get_params(vid, output_size) and returns: i,  j,  th,  tw, int,  int,  h,  w