code: def hv_decode(rle, values, output_shape, axis=1):
      starts = [
          [int(np.sum(arr[:i])) for i in range(len(arr))] for arr in rle
      ]
  
      decoded = np.zeros(output_shape, dtype=np.int32)
      if axis == 1:
          for i in range(decoded.shape[1]):
              decoded[:, i] = rle_decode(starts[i], rle[i], values[i])
      else:
          for i in range(decoded.shape[0]):
              decoded[i] = rle_decode(starts[i], rle[i], values[i])
  
      return decoded
  
imports: import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: hv_decode(rle, values, output_shape, axis) and returns: decoded