code: def _filter_params(params):
      for param in params:
          key_size = 0
          key_size += 3 if param["mode_a"] else 1
          key_size += 2 if param["mode_b"] else 1
  
          if param["key_indices"] and any(
              key_size <= key_index
              for key_index in param["key_indices"]
          ):
              continue
  
          yield param
  
file_path: chainer/tests/chainer_tests/dataset_tests/tabular_tests/test_join.py
imports: import unittest
  import numpy
  import six
  import chainer
  from chainer import testing
  from chainer_tests.dataset_tests.tabular_tests import dummy_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: _filter_params(params) without return types