code: def get_model_numel(model: nn.Module) -> int:
      return sum(p.numel() for p in model.parameters())
  
imports: from contextlib import contextmanager
  import torch
  import torch.nn
label_desc: Use image node_id 2 for calling a global function with example usage: get_model_numel(model) and returns: sum