class_docstr: Base class for text encoder
class_docstr_tok: ["Base","class","for","text","encoder"]
docstr: Initialize model weights
docstr_tok: ["Initialize","model","weights"]
code: def reset_parameters(self):
      """Initialize model weights"""
      initialize_weights(opts=self.opts, modules=self.modules())
  
file_path: ml-cvnets/cvnets/text_encoders/base_text_encoder.py
imports: import argparse
  from typing import Any, Dict, Optional
  import torch
  from torch import Tensor, nn
  from cvnets import parameter_list
  from cvnets.layers import norm_layers_tuple
  from cvnets.misc.init_utils import initialize_weights
  from utils import logger
  from utils.ddp_utils import is_master
label_desc: Use image node_id 3 for calling the BaseTextEncoder obj's underlying member method code with example usage: obj.reset_parameters() without return types