docs: def next_power_of_2(x):
      """Finds the next power of 2 value
  
      Args:
          x: Input value
  
      Returns:
          power_of_2: Next power of 2 value
  
      """
  
      power_of_2 = 1 if x == 0 else 2 ** np.ceil(np.log2(x))
      return power_of_2