code: def copy_state(state):
      return {k: v.cpu().clone() for k, v in state.items()}
  
file_path: fairseq/examples/speech_synthesis/preprocessing/denoiser/utils.py
imports: import functools
  import logging
  from contextlib import contextmanager
  import inspect
  import time
label_desc: Use image node_id 3 for calling a global function with example usage: copy_state(state) and returns: unknown