code: def _window(input_dataset, size, shift, stride, drop_remainder, name):
      if shift is None:
          shift = size
      return _WindowDataset(
          input_dataset, size, shift, stride, drop_remainder, name=name
      )
  
file_path: tensorflow-upstream/tensorflow/python/data/ops/window_op.py
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.util import nest
  from tensorflow.python.data.util import structure
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import gen_dataset_ops
label_desc: Use image node_id 1 for calling a global function with example usage: _window(input_dataset, size, shift, stride, drop_remainder, name) and returns: _WindowDataset