code: def decode_ndarray(bs):
      return np.load(BytesIO(bs))["arr"]
  
imports: import copy
  import os
  from collections import namedtuple
  from io import BytesIO
  import numpy
  import pyarrow
  from itertools import chain, islice
  from enum import Enum
  import json
label_desc: Use image node_id 5 for calling a global function with example usage: decode_ndarray(bs) and returns: np