def compute_throughputs(batch_size, gpu_times):
    """
    Given a batch size and an array of time running on GPU,
    returns an array of throughputs
    """
    return [batch_size / gpu_times[i] * 1000 for i in range(len(gpu_times))]