code: def __init__(
      self, in_channels: int, scale_factor: int, align_corners=True
  ):
      super().__init__()
      self.in_channels = in_channels
      self.out_channels = in_channels
      self.scale_factor = scale_factor
      self.align_corners = align_corners
  
imports: from enum import Enum
  from math import hypot
  from typing import Optional, List, Tuple, Union, Type
  import torch
  from torch import nn, Tensor
label_desc: Use image node_id 1 to create a new BilinearInterpolationLayer object from inherited base classes: AbstractResizeLayer with example: obj = BilinearInterpolationLayer(in_channels, scale_factor, align_corners)