• Adam Osewski's avatar
    Update broadcasting helpers to use v1 operators. (#4194) · b57c7661
    Adam Osewski authored
    * Helper function get_axes_mapping.
    
    * Enhance Broadcast:v1 NUMPY broadcasting.
    
    - Enable NUMPY broadcasting mechanism to work in bothdirections:
        target_shape <-> arg_shape
    
    * Add opset1:squeeze and fix bug in reading squeezed axis idx.
    
    * Fix and enhance downgrade pass for Broadcast:v1
    
    * Use Broadcast:v1 in ONNX Expand operator.
    
    * Replace Broadcast:v0 with v1 in some helper functions.
    
    * Remove call to deprecated legacy_broadcasting helper function.
    
    * Add helper get_axes_mapping_output function.
    
    * Use directly Broadcast:v1 instead of helper function.
    
    * Get back operators from v0 in helper function.
    
    * Use helper function and some refactoring.
    
    * Add legacy style broadcast helper function for opset1.
    
    * User helper broadcasting function for arithmetic operators.
    
    * Add empty axis only if its size is equal to one.
    
    * Aplly review remarks:
    
    - Rename broadcasting function deleting _values_ infix
    - Remove variables used only once.
    - Use STL library where possible.
    - Remove unnecessary conditions.
    
    * Add helper for Broadcast:v1.
    
    * Fix merge artifact and force unsigned type for argument.
    
    * Review. Add additional check for static output.
    
    * Apply clang-format.
    
    * Fix: call v0 ops in ngraph::builder namespace.
    Co-authored-by: 's avatarRobert Kimball <robert.kimball@intel.com>
    b57c7661
Name
Last commit
Last update
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
ABOUT.md Loading commit data...
CMakeLists.txt Loading commit data...
CODEOWNERS Loading commit data...
CONTRIB.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...
ecosystem-overview.md Loading commit data...
environment_variables.md Loading commit data...