code: def _assequence(x):
      """Convert scalars to a sequence, otherwise pass through ``x`` unchanged"""
      if isinstance(x, Number):
          return (x,)
      return x
  
imports: from numbers import Number
  import warnings
  import numpy
  import cupy
  from cupy.fft._fft import _fft, _default_fft_func, hfft, ihfft, _swap_direction
label_desc: Use image node_id 4 for calling a global function with example usage: _assequence(x) and returns: x, x