• Mateusz Bencer's avatar
    [ONNX] Add dynamic shapes support for pooling ops (#4285) · fdd8db66
    Mateusz Bencer authored
    * Switch to PartialShape in onnx_importer ValueInfo
    
    * Construct dynamic dimensions out of ONNX dimensions defined as dim_param
    
    * Validate the PartialShape of inputs created from an ONNX model with dynamic shapes
    
    * Validate the output shape inference for a dynamic ONNX model
    
    * Test the execution of an ONNX model with dynamic dimensions
    
    * Test the Ax+B with more than one batch size
    
    * Provenance tagging adjustments - PartialShape instead of Shape
    
    * Correct translation of ONNX shapes to nG shapes
    
    * Test the shape of Constant produced by scalar initializers
    
    * Review comments & more strict assertions in UT
    
    * UT checking a dynamic rank input
    
    * Fully dynamic input inference test
    
    * first dynamic version
    
    * modified UTs
    
    * Added assert checks
    
    * Added specialised methods
    
    * first verion of AvgPool
    
    * code review remarks introduced
    
    * Changed tests to use default BackendMode value
    
    * Reverted not related changes
    
    * first verion of AvgPool
    
    code review remarks introduced
    
    Changed tests to use default BackendMode value
    
    * first version of maxpool
    
    * Changed PoolingFactory to support dynamic shapes
    
    * fixed Pad op
    
    * Added Uts to global ops
    
    * Code review remarks introduced
    
    * code review remarks introduced
    
    * Code refactor
    
    * Code review remarks introduced
    Co-authored-by: 's avatarTomasz Dołbniak <tomasz.dolbniak@intel.com>
    Co-authored-by: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
    fdd8db66
global_average_pool_dyn.prototxt 746 Bytes