class_docstr: Filter Operator.
  
  Filter the input columns based on the selected filter_columns and filter.
  
  i.e.
          ---1---2---3---4--->
      [   filter('input', 'output', lambda i: i > 2)    ]
          ---3---4--->
class_docstr_tok: ["Filter","Operator",".","Filter","the","input","columns","based","on","the","selected","filter_columns","and","filter",".","i.e",".","--","-1","--","-2","--","-3","--","-4","--","-",">","[","filter","(","'input","'",",","'output","'",",","lambda","i",":","i",">","2",")","]","--","-3","--","-4","--","-",">"]
code: def __init__(
      self,
      node_repr: "NodeRepr",
      op_pool: "OperatorPool",
      in_ques: List["DataQueue"],
      out_ques: List["DataQueue"],
      time_profiler: "TimeProfiler",
  ):
      super().__init__(
          node_repr, op_pool, in_ques, out_ques, time_profiler
      )
      self._key_map = dict(
          zip(self._node_repr.outputs, self._node_repr.inputs)
      )
  
file_path: towhee/towhee/runtime/nodes/_filter.py
imports: from typing import List
  from towhee.runtime.constants import FilterConst
  from towhee.runtime.data_queue import Empty
  from towhee.runtime.time_profiler import Event
  from .node import Node
  from ._single_input import SingleInputMixin
label_desc: Use image node_id 1 to create a new Filter object from inherited base classes: Node, SingleInputMixin with example: obj = Filter(node_repr, op_pool, in_ques, out_ques, time_profiler)