code: def bytes_to_half_floats(byte_matrix):
      floats = np.empty([np.shape(byte_matrix)[0], 1], dtype=np.float16)
      for i, byte_values in enumerate(byte_matrix):
          (floats[i],) = np.frombuffer(
              memoryview(byte_values).tobytes(), dtype=np.float16
          )
      return floats
  
imports: import math
  import struct
  import caffe2.python.hypothesis_test_util
  import hypothesis.strategies
  import numpy
  from caffe2.python import core, workspace
  from caffe2.python.operator_test.fused_nbit_rowwise_test_helper import _compress_uniform_simplified, param_search_greedy
  from hypothesis import assume, given, settings
label_desc: Use image node_id 1 for calling a global function with example usage: bytes_to_half_floats(byte_matrix) and returns: floats