class_docstr: Abstract class offering interface shared between all PyTorch Neural Modules.
class_docstr_tok: ["Abstract","class","offering","interface","shared","between","all","PyTorch","Neural","Modules","."]
docstr: Utility property that returns the total number of parameters of NeuralModule.
docstr_tok: ["Utility","property","that","returns","the","total","number","of","parameters","of","NeuralModule","."]
code: def num_weights(self):
      """
      Utility property that returns the total number of parameters of NeuralModule.
      """
      return self._num_weights()
  
file_path: NeMo/nemo/core/classes/module.py
imports: from contextlib import contextmanager
  import torch
  from torch.nn import Module
  from nemo.core.classes.common import FileIO, Serialization, Typing
label_desc: Use image node_id 1 for calling the NeuralModule obj's underlying member method code with example usage: obj.num_weights() and returns: self