code: def get_func_params(
      module: _torch.nn.Module,
      device: _typing.Optional[_torch.device] = None,
      safe_copy: bool = True,
  ) -> _typing.List[_torch.Tensor]:
      r"""Returns a detached copy of module parameters which requires gradient."""
      params = [
          _copy_tensor(p, safe_copy, device)
          for p in module.parameters()
      ]
      return params
  
file_path: higher/higher/utils.py
imports: import torch
  import typing
label_desc: Use image node_id 8 for calling a global function with example usage: get_func_params(module, device, safe_copy) and returns: params