docstr: Returns the number of parameters in this module.
docstr_tok: ["Returns","the","number","of","parameters","in","this","module","."]
code: def num_parameters(self) -> int:
      """Returns the number of parameters in this module."""
      return sum(
          deepspeed_param_size(p)
          if not _is_lazy_weight_tensor(p)
          else 0
          for p in self._module.parameters()
      )
  
file_path: pytorch-lightning/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py
imports: from collections import OrderedDict
  from typing import Dict, List, Tuple
  import torch
  from lightning_utilities.core.imports import RequirementCache
  from torch.nn import Parameter
  from lightning.pytorch.utilities.model_summary.model_summary import NOT_APPLICABLE, LayerSummary, ModelSummary, _is_lazy_weight_tensor, get_human_readable_count
label_desc: Use image node_id 1 for calling the DeepSpeedLayerSummary obj's underlying member method code with example usage: obj.num_parameters() and returns: sum