code: def _fp32_to_reversed_fp16_byte_array(fp32_arr):
      raw_fp16 = _np.float16(fp32_arr)
      x = ""
      for fp16 in raw_fp16:
          all_bytes = _np.fromstring(fp16.tobytes(), dtype="int8")
          x += all_bytes[1].tobytes()
          x += all_bytes[0].tobytes()
      return x
  
imports: import math
  import numpy
  import os
  import six
  import warnings
  import sys
  from coremltools.proto import Model_pb2
  from coremltools.models._deprecation import deprecated
  from .._deps import _HAS_SKLEARN
label_desc: Use image node_id 5 for calling a global function with example usage: _fp32_to_reversed_fp16_byte_array(fp32_arr) and returns: x