code: def _paddle2np(
      paddle_dict: Dict[str, paddle.Tensor]
  ) -> Dict[str, np.array]:
      for k, v in paddle_dict.items():
          paddle_dict[k] = v.detach().cpu().numpy()
      return paddle_dict
  
file_path: safetensors/bindings/python/py_src/safetensors/paddle.py
imports: import os
  from typing import Dict, Optional, Union
  import numpy
  import paddle
  from safetensors import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: _paddle2np(paddle_dict) and returns: paddle_dict