class_docstr: Window operator
  
  inputs: ---1-2-3-4-5-6--->
  
  node definition:
  
    [    window('input', 'output', size=3, step=2, callable=lambda i: sum(i))     ]
  
  every step:
  
    callable([1, 2, 3]) -> 6
    callable([3, 4, 5]) -> 12
    callable([5, 6]) -> 11
  
  outputs:
    ----6-12-11---->
class_docstr_tok: ["Window","operator","inputs",":","--","-1-2-3-4-5-6","--","-",">","node","definition",":","[","window","(","'input","'",",","'output","'",",","size=3",",","step=2",",","callable=lambda","i",":","sum","(","i",")",")","]","every","step",":","callable","(","[","1",",","2",",","3","]",")","-",">","6","callable","(","[","3",",","4",",","5","]",")","-",">","12","callable","(","[","5",",","6","]",")","-",">","11","outputs",":","--","--","6-12-11","--","--",">"]
code: def _init(self):
      self._size = self._node_repr.iter_info.param[
          WindowConst.param.size
      ]
      self._step = self._node_repr.iter_info.param[
          WindowConst.param.step
      ]
      self._cur_index = -1
      self._buffer = _WindowBuffer(self._size, self._step)
  
file_path: towhee/towhee/runtime/nodes/_window.py
imports: from typing import List
  from towhee.runtime.constants import WindowConst
  from ._window_base import WindowBase
label_desc: Use image node_id 1 for calling the Window obj's underlying member method code with example usage: obj._init() without return types