code: def _next_power_of_2(x: int) -> int:
      r"""Returns the smallest power of 2 that is greater than x"""
      return 1 if x == 0 else 2 ** (x - 1).bit_length()
  
imports: import math
  from typing import Tuple
  import torch
  import torchaudio
  from torch import Tensor
label_desc: Use image node_id 2 for calling a global function with example usage: _next_power_of_2(x) and returns: unknown