class_docstr: Interpolation module.
docstr: Init.
  
  Args:
      scale_factor (float): scaling
      mode (str): interpolation mode
docstr_tok: ["Init",".","Args",":","scale_factor","(","float",")",":","scaling","mode","(","str",")",":","interpolation","mode"]
code: def __init__(self, scale_factor, mode, align_corners=False):
      """Init.
  
      Args:
          scale_factor (float): scaling
          mode (str): interpolation mode
      """
      super(Interpolate, self).__init__()
  
      self.interp = nn.functional.interpolate
      self.scale_factor = scale_factor
      self.mode = mode
      self.align_corners = align_corners
  
imports: import torch
  import torch.nn
  from .vit import _make_pretrained_vitb16_384, _make_pretrained_vitb_rn50_384, _make_pretrained_vitl16_384
label_desc: Use image node_id 1 to create a new Interpolate object from inherited base classes: nn with example: obj = Interpolate(scale_factor, mode, align_corners)