code: def __init__(
      self,
      output_size: Union[int, Tuple[int, int]] = 1,
      *args,
      **kwargs,
  ) -> None:
      super().__init__(output_size=output_size)
  
imports: from typing import Tuple, Union
  from torch import Tensor, nn
label_desc: Use image node_id 1 to create a new AdaptiveAvgPool2d object from inherited base classes: nn with example: obj = AdaptiveAvgPool2d(output_size)