class_docstr: A predicate used to aggregate other predicates using any reduce logical operation.
class_docstr_tok: ["A","predicate","used","to","aggregate","other","predicates","using","any","reduce","logical","operation","."]
docstr: predicate_list: list of predicates
  reduce_func: function to aggregate result of all predicates in the list
  e.g. all() will implements logical 'And', any() implements logical 'Or'
docstr_tok: ["predicate_list",":","list","of","predicates","reduce_func",":","function","to","aggregate","result","of","all","predicates","in","the","list","e.g",".","all","(",")","will","implements","logical","'And","'",",","any","(",")","implements","logical","'Or","'"]
code: def __init__(self, predicate_list, reduce_func):
      """predicate_list: list of predicates
      reduce_func: function to aggregate result of all predicates in the list
      e.g. all() will implements logical 'And', any() implements logical 'Or'
      """
      check_list = [
          isinstance(p, PredicateBase) for p in predicate_list
      ]
      if not all(check_list):
          raise ValueError(
              "Predicate is nor derived from PredicateBase"
          )
      self._predicate_list = predicate_list
      self._reduce_func = reduce_func
  
imports: import abc
  import collections.abc
  import hashlib
  import numpy
  import six
  import sys
label_desc: Use image node_id 1 to create a new in_reduce object from inherited base classes: PredicateBase with example: obj = in_reduce(predicate_list, reduce_func)