code: def _to_numpy_torch(x):
      if (
          getattr(x, "is_conj", False) and x.is_conj()
      ):  # pragma: no cover
          # The following line is only covered if using Torch <v1.10.0
          x = x.resolve_conj()
  
      return x.detach().cpu().numpy()
  
imports: from importlib import import_module
  import autoray
  import numpy
  import semantic_version
  from scipy.linalg import block_diag
  from .utils import get_deep_interface
label_desc: Use image node_id 25 for calling a global function with example usage: _to_numpy_torch(x) and returns: x