class_docstr: Transformer decoder of DDQ.
class_docstr_tok: ["Transformer","decoder","of","DDQ","."]
docstr: Initialize encoder layers.
docstr_tok: ["Initialize","encoder","layers","."]
code: def _init_layers(self) -> None:
      """Initialize encoder layers."""
      super()._init_layers()
      self.ref_point_head = MLP(
          self.embed_dims * 2, self.embed_dims, self.embed_dims, 2
      )
      self.norm = nn.LayerNorm(self.embed_dims)
  
file_path: mmdetection/mmdet/models/layers/transformer/ddq_detr_layers.py
imports: import copy
  import torch
  from mmcv.ops import batched_nms
  from torch import Tensor, nn
  from mmdet.structures.bbox import bbox_cxcywh_to_xyxy
  from .deformable_detr_layers import DeformableDetrTransformerDecoder
  from .utils import MLP, coordinate_to_encoding, inverse_sigmoid
label_desc: Use image node_id 1 for calling the DDQTransformerDecoder obj's underlying member method code with example usage: obj._init_layers() without return types