code: def _filter(
      input_dataset, predicate, name=None
  ):  # pylint: disable=redefined-builtin
      return _FilterDataset(input_dataset, predicate, name=name)
  
file_path: tensorflow-upstream/tensorflow/python/data/ops/filter_op.py
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import structured_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.ops import gen_dataset_ops
label_desc: Use image node_id 1 for calling a global function with example usage: _filter(input_dataset, predicate, name) and returns: _FilterDataset