code: def _ndarray_from_bytes(data: bytes) -> np.ndarray:
      """Load ndarray from simple msgpack encoding."""
      shape, dtype_name, buffer = msgpack.unpackb(data, raw=True)
      return np.frombuffer(
          buffer, dtype=_dtype_from_name(dtype_name), count=-1, offset=0
      ).reshape(shape, order="C")
  
imports: import enum
  import threading
  from contextlib import contextmanager
  from typing import Any, Dict, List
  import jax
  import msgpack
  import numpy
label_desc: Use image node_id 15 for calling a global function with example usage: _ndarray_from_bytes(data) and returns: np