code: def _handle_numpy_array(raw, _cls=None):
      if _cls not in _MASK_CLASSES:
          return str(fou.deserialize_numpy_array(raw).shape)
  
      array = fou.deserialize_numpy_array(raw)
  
      if np.isfortran(array):
          array = np.ascontiguousarray(array)
  
      return fou.serialize_numpy_array(array, ascii=True)
  
file_path: fiftyone/fiftyone/core/json.py
imports: import dataclasses
  from datetime import date, datetime
  import math
  from bson import ObjectId
  import numpy
  import fiftyone.core.utils
label_desc: Use image node_id 2 for calling a global function with example usage: _handle_numpy_array(raw, _cls) and returns: fou, str