code: def __init__(self, in_channels, key_channels, scale=1, bn_type=None):
      super(ObjectAttentionBlock2D, self).__init__(
          in_channels, key_channels, scale, bn_type=bn_type
      )
  
imports: import os
  import logging
  import numpy
  import torch
  import torch.nn
  import torch._utils
  import torch.nn.functional
  from .bn_helper import BatchNorm2d, BatchNorm2d_class, relu_inplace
label_desc: Use image node_id 1 to create a new ObjectAttentionBlock2D object from inherited base classes: _ObjectAttentionBlock with example: obj = ObjectAttentionBlock2D(in_channels, key_channels, scale, bn_type)