code: def _get_named_tensors(module: nn.Module):
      non_persistent_buffers_set = _get_all_non_persistent_buffers_set(
          module
      )
      named_buffers = [
          (name, buffer)
          for (name, buffer) in module.named_buffers()
          if name not in non_persistent_buffers_set
      ]
      named_parameters = list(module.named_parameters())
      return named_parameters + named_buffers
  
file_path: audiocraft/audiocraft/optim/ema.py
imports: from collections import defaultdict
  import typing
  import torch
  import torch.nn
label_desc: Use image node_id 2 for calling a global function with example usage: _get_named_tensors(module) and returns: unknown