code: def rolling_window(a, window, step=1):
      # http://ellisvalentiner.com/post/2017-03-21-np-strides-trick
      shape = a.shape[:-1] + (a.shape[-1] - window + 1, window)
      strides = a.strides + (a.strides[-1],)
      return numpy.lib.stride_tricks.as_strided(
          a, shape=shape, strides=strides
      )[::step]
  
file_path: python_speech_features/python_speech_features/sigproc.py
imports: import decimal
  import numpy
  import math
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: rolling_window(a, window, step) and returns: numpy