code: def load(data: bytes) -> Dict[str, mx.array]:
      """
      Loads a safetensors file into MLX format from pure bytes.
  
      Args:
          data (`bytes`):
              The content of a safetensors file
  
      Returns:
          `Dict[str, mx.array]`: dictionary that contains name as key, value as `mx.array`
  
      Example:
  
      ```python
      from safetensors.mlx import load
  
      file_path = "./my_folder/bert.safetensors"
      with open(file_path, "rb") as f:
          data = f.read()
  
      loaded = load(data)
      ```
      """
      flat = numpy.load(data)
      return _np2mx(flat)
  
file_path: safetensors/bindings/python/py_src/safetensors/mlx.py
imports: import os
  from typing import Dict, Optional, Union
  import numpy
  import mlx.core
  from safetensors import numpy, safe_open
label_desc: Use image node_id 3 for calling a global function with example usage: load(data) and returns: _np2mx