def next_power_of_2()

in utils/utils.py [0:0]


def next_power_of_2(x):
    return 1 if x == 0 else 2 ** (x - 1).bit_length()