• Adam Procter's avatar
    "Any" and "All" ops (#2217) · fc216f39
    Adam Procter authored
    * Skip --exclude-libs linker flag on macOS
    
    * Change test to if(LINUX)
    
    * Add "Any" op and AnyAllReplacement pass
    
    * Add AnyAllReplacement to IGPU backend
    
    * Stub (error-out) handlers for GPU and INTELGPU
    
    * Add 'All' op
    
    * Add AnyAllInsertion pass, deprecate deprecable ops, add stubs for INTELGPU
    
    * Add failing unit tests to INTELGPU manifest
    
    * Reduce boilerplate
    
    * Reduce more boilerplate
    
    * Add static keywords
    fc216f39
all.rst 1.73 KB

All

All // Boolean "all" reduction operation.

Description

Reduces a tensor of booleans, eliminating the specified reduction axes by taking the logical conjunction (i.e., "AND-reduce").

Inputs

Name Element Type Shape
arg ngraph::element::boolean Any

Attributes

Name Description
reduction_axes The axis positions (0-based) on which to calculate the conjunction

Outputs

Name Element Type Shape
output Same as arg Same as arg, with reduction_axes removed.

C++ Interface