def convert_bytes_to_ints(in_bytes, num):
out_arr = []<EOL>for i in range(len(in_bytes)//num):<EOL><INDENT>val = in_bytes[i * num:i * num + num]<EOL>unpacked = struct.unpack(mmtf.utils.constants.NUM_DICT[num], val)<EOL>out_arr.append(unpacked[<NUM_LIT:0>])<EOL><DEDENT>return out_arr<EOL>
Convert a byte array into an integer array. The number of bytes forming an integer
    is defined by num
    :param in_bytes: the input bytes
    :param num: the number of bytes per int
    :return the integer array