code: def _init_layers(self) -> None:
      super(HDINO, self)._init_layers()
      self.query_embedding = None
      if self.method == 1:
          self.query_map = nn.Linear(self.embed_dims, self.embed_dims)
      else:
          self.pos_trans_fc = nn.Linear(
              self.embed_dims * 2, self.embed_dims
          )
          self.pos_trans_norm = nn.LayerNorm(self.embed_dims)
  
file_path: mmdetection/projects/HDINO/h_dino.py
imports: from typing import Tuple
  import torch
  from torch import Tensor, nn
  from torch.nn.init import normal_
  from mmdet.models.detectors import DINO, DeformableDETR
  from mmdet.models.detectors.deformable_detr import MultiScaleDeformableAttention
  from mmdet.registry import MODELS
  from mmdet.structures import OptSampleList
  from mmdet.utils import OptConfigType
label_desc: Use image node_id 2 for calling the HDINO obj's underlying member method code with example usage: obj._init_layers() without return types