code: def _round_to_nearest_power_of_two(n):
      return int64(1 << round(np.log2(n)))
  
imports: import numpy
  from sktime.utils.numba.njit import jit
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 3 for calling a global function with example usage: _round_to_nearest_power_of_two(n) and returns: int64