class_docstr: Implements AdaptiveAvgPool2d with output (H, W) = (1, 1). This operator has
  better efficiency than AdaptiveAvgPool for mobile CPU.
class_docstr_tok: ["Implements","AdaptiveAvgPool2d","with","output","(","H",",","W",")","=","(","1",",","1",")",".","This","operator","has","better","efficiency","than","AdaptiveAvgPool","for","mobile","CPU","."]
code: def __init__(
      self,
  ):
      super().__init__()
      self.pool = nn.AdaptiveAvgPool2d(1)
      self.convert_flag = False
  
imports: from typing import Tuple, Union
  import torch.nn
  from pytorchvideo.accelerator.efficient_blocks.efficient_block_base import EfficientBlockBase
  from pytorchvideo.accelerator.efficient_blocks.no_op_convert_block import NoOpConvertBlock
label_desc: Use image node_id 1 to create a new AdaptiveAvgPool2dOutSize1 object from inherited base classes: EfficientBlockBase with example: obj = AdaptiveAvgPool2dOutSize1()