1. 20 Feb, 2020 1 commit
    • 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
  2. 07 Mar, 2019 1 commit
    • Adam Rogowiec's avatar
      [ONNX] Convert models to text format. (#2528) · 073e68fd
      Adam Rogowiec authored
      * Handle models in prototxt format.
      Signed-off-by: 's avatarAdam Rogowiec <adam.rogowiec@intel.com>
      
      * Convert Onnx models to text format.
      
      * Tool for conversion between protobuf ONNX models in binary and text format.
      Signed-off-by: 's avatarAdam Rogowiec <adam.rogowiec@intel.com>
      
      * Update ONNX test models text format.
      
      * Convert ONNX LSTM model to text format.
      
      * Rename and make second argument optional.
      
      * Unify models metadata.
      
      * Remove onnx binary models.
      
      * Review: fix comments.
      
      * Fix not yet updated models extension in UTs.
      
      * Add UT with binary protobuf models.
      
      * Clang format.
      
      * Remove failing UT in prototxt since it has problems with CI.
      
      * Inhibit logging protobuf errors.
      
      * Revert "Remove failing UT in prototxt since it has problems with CI."
      
      This reverts commit 94741a8c4594f3cc2ebdca428fa40b94a79240c2.
      
      * Remove LogSilencer from onnx importer api and remove respective UT.
      
      * Conversion script updates
      073e68fd