1. 16 Jul, 2019 1 commit
    • Adam Rogowiec's avatar
      [ONNX] Use nGraph auto padding in ONNX operators. (#3175) · 599f0f21
      Adam Rogowiec authored
      * Helper function converting ONNX auto_pad into nGraph PadType.
      
      Separate auto_pad support from explicitly provided paddings.
      
      * Add support for more PadType values for GroupConvolutionTranspose.
      
      * Pass auto_pad attribute value to nGraph operator.
      
      * Helper class for generating ONNX pooling operators.
      
      * Pass auto pad type to nGraph Convolution operator.
      
      * Use pooling factory.
      
      * Helper function calculating pads taking into account auto_pad attribute.
      
      * Fix attribute type in UT ONNX models.
      
      * Take auto_pad attribute value into account.
      
      * Rename helper function and update doc.
      
      * Retain old API for GroupConvoloutionTranspose
      
      * Remove PadType::INVALID and use other approach to validate auto_pad
      value.
      
      * Style apply.
      
      * Fix clang err on documentation style.
      
      * Refactor get_auto_pad method.
      
      * Fix segfaults on CentOS 7.
      
      When using const reference the node member m_attributes had invalid
      data.
      599f0f21
  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