code: def _filter_combs(n_args, combs, vectorization_type):
      if vectorization_type == "sym" or n_args == 1:
          return combs
  
      repeat_indices = [
          int(val) for val in vectorization_type.split("-")[1:]
      ]
      if len(repeat_indices) == n_args:
          return combs
  
      remove_indices = [
          val for val in range(n_args) if val not in repeat_indices
      ]
  
      for comb in combs.copy():
          vals_remove = [
              comb[remove_index] for remove_index in remove_indices
          ]
          if (
              max(vals_remove) == 0
              or min(vals_remove) == 1
              and min(comb) == 1
          ):
              continue
  
          combs.remove(comb)
  
      return combs
  
file_path: geomstats/geomstats/test/vectorization.py
imports: import copy
  import inspect
  import itertools
  from geomstats.vectorization import repeat_point
label_desc: Use image node_id 1 for calling a global function with example usage: _filter_combs(n_args, combs, vectorization_type) and returns: combs, combs, combs