code: def test_init_weights(self):
      head = PanopticFPNHead(
          num_things_classes=2,
          num_stuff_classes=2,
          in_channels=32,
          inner_channels=32,
      )
      head.init_weights()
      assert_allclose(
          head.conv_logits.bias.data,
          torch.zeros_like(head.conv_logits.bias.data),
      )
  
file_path: mmdetection/tests/test_models/test_seg_heads/test_panoptic_fpn_head.py
imports: import unittest
  import torch
  from mmengine.structures import PixelData
  from mmengine.testing import assert_allclose
  from mmdet.models.seg_heads import PanopticFPNHead
  from mmdet.structures import DetDataSample
label_desc: Use image node_id 1 for calling the TestPanopticFPNHead obj's underlying member method code with example usage: obj.test_init_weights() without return types