class_docstr: Base class for segmentation heads
class_docstr_tok: ["Base","class","for","segmentation","heads"]
code: def reset_head_parameters(self, opts) -> None:
      # weight initialization
      initialize_weights(opts=opts, modules=self.modules())
  
file_path: ml-cvnets/cvnets/models/segmentation/heads/base_seg_head.py
imports: import argparse
  from typing import Dict, Optional, Tuple
  from torch import Tensor, nn
  from cvnets.layers import ConvLayer2d, Dropout2d, UpSample
  from cvnets.misc.common import parameter_list
  from cvnets.misc.init_utils import initialize_weights
  from cvnets.models import MODEL_REGISTRY, BaseAnyNNModel
  from utils import logger
label_desc: Use image node_id 5 for calling the BaseSegHead obj's underlying member method code with example usage: obj.reset_head_parameters(opts) without return types