1. 07 Feb, 2020 1 commit
    • Adam Osewski's avatar
      Use GroupConvolutionBackpropData v1 in ONNX ConvTranspose. (#4158) · d80c8e42
      Adam Osewski authored
      * Use ConvolutionBackpropData in ONNX ConvTranspose operator.
      
      * Replace deprecated functions and update documentation.
      
      * Remove GroupConvolutionTranspose fused op.
      
      * Add more UT for GroupConvolutionBackpropData.
      
      - They're transformed from GroupConvolutionTranspose
      
      * Fix validate_and_infed types for ConvolutionBackpropData v1.
      
      * Add new constructor for GroupConvolutionBackpropData
      
      - Additionally do some code formatting.
      
      * Improve validation in GroupConvBackprop v0.
      
      * Update/fix upgrade & downgrade passes for
      (Group)ConvolutionBackpropData.
      
      * Add decomposition and validation for GroupConvolutionBackpropData:v1
      
      * Type properties UT for GroupConvolutionBackprop v1
      
      * Remove include of deleted header.
      
      * Add squeeze to opset1::builder.
      
      * Use opset1 squeeze.
      
      * Helper functions for padding and output spatial shape inference.
      
      These helper functions are specialized only for *ConvolutionBackpropData operators.
      
      * Update documentation.
      
      * Add more checks and remove deprecated assert.
      
      * Refactor GroupConvolutionBackpropData validation.
      
      - Use helper functions to infer padding and output shape.
      - Change get_output_shape to return only spatial features dimensions
      
      * Remove unnecessary code from donwgrade pass.
      
      The GroupConvolutionBackpropData node has already computed all those required
      information.
      
      * Call Node API. Small review suggestions.
      
      * Work only on spatial dimensions inside helper functions.
      
      * Enhance documentation for ConvolutionBackpropData
      
      * Refactoring.
      
      * Reuse values computed in downgraded operator.
      
      * Check for correct filters input shape.
      
      * Add additional check on auto pad value.
      
      * Remove unused variables.
      
      * Rename helper function.
      
      * Add more checks.
      
      * Override is dynamic and add more restrictive check.
      
      * Fix merge artifact and force unsigned type for argument.
      
      * Review comments: renaming.
      
      * Change Convolution + bias pattern.
      
      Change from bias broadcasting to appropriate convolution output shape
      into reshape into (1, C, 1, 1) shape, which sould work better.
      
      * Add few more test cases for ONNX ConvTranspose op.
      
      * Skip one UT failing on PlaidML backend due to accuracy.
      d80c8e42
  2. 11 Jan, 2020 1 commit
  3. 10 Jan, 2020 1 commit
  4. 07 Jan, 2020 1 commit
  5. 01 Jan, 2020 1 commit
  6. 19 Dec, 2019 1 commit
  7. 12 Dec, 2019 1 commit
  8. 06 Dec, 2019 1 commit
  9. 05 Dec, 2019 1 commit
  10. 02 Dec, 2019 1 commit
    • Katarzyna Mitrus's avatar
      Add v1 version of Subtract with Numpy broadcasting as default (#3957) · 501b2e22
      Katarzyna Mitrus authored
      * V1 version of Subtract with default Numpy autobcast
      
      * Update op_v1_tbl.hpp with v1 version of Subtract
      
      * Use v1 of Subtract in ONNX importer
      
      * Add v1 namespace
      
      * Update namspece
      
      * Missing punctuation
      
      * Add Subtract to opset0 downgrade
      
      * Add Subtract to opset1 upgrade
      
      * Add Subtract header to cpu emmiter
      
      * Update serializer
      
      * Add Subtract to opset_pass tests
      
      * Use downgrade method
      
      * Add get_version method
      
      * Style apply
      
      * Add v1 Substract to check opset1
      
      * Add NGRAPH_API before class name
      
      * Removed get_version method
      
      * Separate cases for Subtract and Subtract_v1 in serializer
      
      * Update op_version_tbl with v1 Subtract
      
      * NUMPY autobcast for no args constructor
      
      * Add Subtract_v1 to serializer
      501b2e22
  11. 28 Nov, 2019 2 commits
    • Tomasz Socha's avatar
      [SPEC] Adjust ConvolutionBackpropData op. (#3935) · 8f999289
      Tomasz Socha authored
      * [SPEC] Adjust ConvolutionBackpropData op.
      
      ```
      inputs:
        1. filters-------+
        2. output_delta  |  -> 1. data
                         +---> 2. filters
        3. data_batch_shape -> 3. output_shape(+optional)
      
      attributes:
        1. strides          -> 1. strides
        2. dilations-----+
        3. pads_begin    |  -> 2. pads_begin
        4. pads_end      |  -> 3. pads_end
                         +---> 4. dilations
      		      -> 5. +auto_pad(optional)[PadType::EXPLICIT]
      		      -> 6. +output_padding(optional)[zeros]
      ```
      
      * Review fix I
      8f999289
    • Jayaram Bobba's avatar
      Opset1 Definition (#3813) · f6bddf08
      Jayaram Bobba authored
      * Opset1
      
      * Added opset1.hpp
      
      * Added more ops to opset0 and opset1
      
      * Move opset1.hpp up and remove opset0.hpp
      
      * Add versioning to more ops
      
      * Revert to older pass names to keep compatibility for external components
      
      * Fix compilation errors with codegen
      
      * merge
      
      * Added compile-time check for opset
      
      * Added opset1 tbl
      
      * Add op_version table of all ops
      
      * Create factories from op_version_tbl
      
      * reorg unsupported ops in int backend
      
      * Added temporary alias for GreaterEqual
      
      * Add missing case to interpreter enumeration
      
      * Finish opset serializer cleanup (#3939)
      
      * Opset-based opset conversion (#3937)
      
      * Opset-based opset conversion
      
      * Add other opset conversion
      
      * Use ops.hpp
      
      * Update opset0_tbl.hpp
      
      * Switch interpreter to opset0 + a few extras (#3941)
      
      * Switch interpreter, gcpu to opset0
      
      * Remove unnused files
      
      * Give interpreter its own opset
      
      * style
      
      * Fix namespace
      
      * Fix rounding type conversion
      
      * Work-around for bad clang3.9 bug
      
      * Work-around
      f6bddf08
  12. 27 Nov, 2019 1 commit
  13. 25 Nov, 2019 1 commit
    • Mateusz Bencer's avatar
      [SPEC] Add OneHot:v1 (#3884) · de27f2b1
      Mateusz Bencer authored
      * Moved OneHot to v0
      
      * Introduced OneHot:v1
      
      * Added shape calculation for OneHot:v1
      
      * Added element types checking
      
      * Added output shape tests
      
      * Added tests to checking if inputs are scalars
      
      * Updated OneHot:v1 doc
      
      * Implemented OneHot:v1 downgrade pass
      
      * Using OneHot:v1 in onnx_importer
      
      * Implemented OneHot:v0 upgrade
      
      * Fixed OneHot onnx_importer
      
      * Refactored normalize_axis
      
      * Added OneHot:v1 serialized
      
      * Code review remarks introduced
      
      * Added doc to normalize_axis
      de27f2b1
  14. 22 Nov, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/uop (#3903) · 4c5dbf07
      Scott Cyphers authored
      * Address op_tbl issues
      
      * fix
      
      * fix
      
      * fix
      
      * Cleanup
      
      * cleanup
      
      * cleanup
      
      * More fixes
      
      * Revert ser changes
      
      * Compiles
      
      * opset conversion fixed
      
      * Fix opset conversion tests
      
      * Deal with Reciprocal and FloorMod movement
      
      * Cleanup
      
      * Remove duplicate enums
      
      * Experiment
      
      * experiment
      
      * Types
      
      * Reorg around clang 3.9 bug
      4c5dbf07
  15. 08 Nov, 2019 1 commit
    • Mateusz Bencer's avatar
      [SPEC] Implement TopK:v1 downgrade (#3789) · cab1b7b0
      Mateusz Bencer authored
      * implemented TopK:v1 downgrade
      
      * Using v1 in onnx_importer; styles applied
      
      * Fixed onnx_importer
      
      * code review remarks introduced; fix clang errors
      
      * Fixed problem with incorrect order of TopK outputs
      
      * Code review remarks introduced
      
      * Fixed output_order style
      cab1b7b0
  16. 06 Nov, 2019 1 commit
    • Adam Rogowiec's avatar
      [SPEC] Numpy AutoBroadcast as default for specific ops. (#3816) · f5b322cf
      Adam Rogowiec authored
      * Add upgrade/downgrade pass for Add op.
      
      * Add upgrade/downgrade pass for Divide op.
      
      - Change default value of autobradcasting in v1 into NUMPY.
      
      * Add v1 version for Equal operator.
      
      * Rename helper functions to fix compiler errros.
      
      Fix Divide op version.
      
      * Add downgrade and upgrade passes for Equal op.
      
      * Reformat test cases. Add helper functions.
      
      Add UT for Equal op.
      
      * Add upgrade/downgrade pass and UT for Greater op.
      
      * Add upgrade/downgrade pass and UT for GreaterEq op.
      
      * Add upgrade/downgrade pass and UT for Less op.
      
      * Add upgrade/downgrade pass and UT for LessEq op.
      
      * Add upgrade/downgrade pass and UT for Maximum op.
      
      * Add upgrade/downgrade pass and UT for Minimum op.
      
      * Add upgrade/downgrade pass and UT for Multiply op.
      
      * Add upgrade/downgrade pass and UT for NotEqual op.
      
      * Add upgrade/downgrade pass and UT for Power op.
      
      * Force ops version 1.
      
      * Don't inline templates.
      
      * Fix namespaces and some formatting.
      
      * Update ONNX Importer to produce v1 nGraph nodes.
      
      * Fix function return type.
      
      * Fix uninitialized local variable warning.
      
      * Fix confilicting declarations.
      
      * Apply clang-format.
      
      * Fix errors for distributed nGraph with unavailable classes.
      
      * Fix downgrade pass for LessEqual op.
      f5b322cf
  17. 04 Nov, 2019 2 commits
    • Nishant Patel's avatar
      Shape as a node in ConvBpropData/Filters (v1) (#3711) · 6e5b4cd0
      Nishant Patel authored
      * Shape as a node in ConvBpropData (v1)
      
      * Fix constant op creation
      
      * Convbpropfilters dynamic shape
      
      * Avgpool bprop dynamic shape
      
      * Add downgrade pass
      
      * Downgrade pass Avgpoolbackprop
      
      * Shape checks and shape relevancy
      
      * Dyn avgpoolbprop test case
      
      * Revert "Dyn avgpoolbprop test case"
      
      This reverts commit b094f2f99d00023593c667ff16cf060a586ad16a.
      
      * Revert "Avgpool bprop dynamic shape"
      
      This reverts commit ef8a4d197577c0d277d634baa9d6d082adcddae0.
      
      * Revert "Downgrade pass Avgpoolbackprop"
      
      This reverts commit 3f31f0fea8fe6e79bd958cbaa7cb8495008a795f.
      
      * Call shape relevancy
      
      * Revert Avgpoolbprop changes
      
      * mark nodes as dynamic
      
      * Add opset transform tests
      
      * Change API
      
      * Adjust strides
      
      * Use size
      
      * Merge PR 3776
      
      * add shape relevance
      
      * Add convbprop_data test case
      
      * Add convbprop_filter test case
      
      * Use is_constant helper
      
      * Remove opset pdpd test case
      
      * resolve conflict
      
      * add checks for validate and infer
      
      * Type prop tests
      6e5b4cd0
    • Tomasz Socha's avatar
      [SPEC] [MLIR] Adjust names of logical operators to the spec. (#3819) · 18d12ad8
      Tomasz Socha authored
      * [SPEC] Rename operator Xor->LogicalXor
      
      * Fix clang issue
      
      * Fix bug in opset transformations. Add support for LogicalXor in backends
      
      * Style fix
      
      * Fix a bug in CPU emmiter
      
      * [SPEC] Rename operator Or->LogicalOr
      
      * [SPEC] Rename operator And->LogicalAnd
      
      * [SPEC] Rename operator Not->LogicalNot
      
      * [SPEC] Rename operator LessEq->LessEqual
      18d12ad8
  18. 29 Oct, 2019 1 commit
  19. 28 Oct, 2019 1 commit
    • Mateusz Bencer's avatar
      [SPEC] Implement StridedSlice:v1 (#3722) · bb9b5be6
      Mateusz Bencer authored
      * DynSlice was adjusted to specyfication
      
      * Fixed documentation
      
      * Fixed styles
      
      * Fixed clang warning
      
      * Introduced StridedSlice as separate op
      
      * revert dyn_slice
      
      * Fixed StrideSlice implementation
      
      * Enable downgrade pass in dynamic backend
      
      * Implemented upgrade/downgrade pass
      
      * Added serialization
      
      * Styles applied
      
      * Styles applied. Part.2
      
      * Updated dynamic backends list
      
      * Move StridedSlice outside experimental
      
      * Make Slice as v0 of StridedSlice
      
      * Styles applied
      
      * Styles applied
      
      * Fixed clang error
      
      * Code review remarks introduced
      
      * Move GenerateMask up in Opset0Downgrade to keep alphabetical sort
      
      * Style apply
      bb9b5be6
  20. 24 Oct, 2019 2 commits
  21. 22 Oct, 2019 1 commit
  22. 21 Oct, 2019 1 commit
  23. 17 Oct, 2019 1 commit
    • Jayaram Bobba's avatar
      [SPEC] Added support for v1 Broadcast op specification (#3737) · e741f8f1
      Jayaram Bobba authored
      * - Added support for v1 Broadcast op specification
      - Added upgrade/downgrade conversions between v0 and v1
      
      * Added unit test for pdpd broadcast
      
      * Make numpy default autobroadcast type and some style fixes
      
      * Added support in Dynamic wrapper for dyn elimination and copied over unit tests from DynBroadcast
      
      * Addressed PR feedback
      
      * Addressed PR feedback on documentation
      e741f8f1
  24. 11 Oct, 2019 2 commits
    • Michał Karzyński's avatar
      Unify test names for opset transformation passes (#3755) · d0dd4d6c
      Michał Karzyński authored
      * Unify test names for opset transformation passes
      
      * Unify downgrade test names
      d0dd4d6c
    • Mateusz Bencer's avatar
      [SPEC] Implement ReduceSum:v1 and ReduceProd:v1 downgrade pass (#3676) · 5a6cf4d0
      Mateusz Bencer authored
      * Implemented downgrade pass
      
      * Using Pad:v1 in onnx_importer
      
      * Downgrade transformation doc fixed
      
      * Added downgrade pass for reduce_prod
      
      * Using ReduceProd:v1 in onnx_importer
      
      * Added ReduceProd:1 downgrade support
      
      * Clang styles applied
      
      * Downgrade pass added for all backends
      
      * Added downgrade pass for reduce_prod
      
      * Using ReduceProd:v1 in onnx_importer
      
      * Added ReduceProd:1 downgrade support
      
      * Clang styles applied
      
      * Apply suggestions from code review
      
      Changed pad_opset_pass to opset_downgrade
      Co-Authored-By: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * Fix names
      
      * Apply suggestions from code review
      
      Removed redundant include, renamed tests
      Co-Authored-By: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * Changed order of passes
      
      * Changed way of op casting
      
      * Changed order of passes
      
      * Changed downgrade pass order of CPU backend
      
      * Changed downgrade pass order of CPU backend
      
      * styles applied
      
      * [SPEC] Fixed NormalizeL2 (#3695)
      
      * Fixed NormalizeL2
      
      * style applied
      
      * Fixed axes rank checking
      
      * removed redundant comma
      
      * Set keep_dims by function argument
      
      * Improved error message
      
      * Fixed casting method
      
      * fix styles
      
      * styles applied
      
      * Fixed normalize tests
      
      * unit tests names refactor
      Co-Authored-By: 's avatarMichał Karzyński <postrational@users.noreply.github.com>
      
      * Disable not supported PlaidML tests
      
      * Added missing EOF
      5a6cf4d0
  25. 10 Oct, 2019 1 commit
    • Mateusz Bencer's avatar
      [SPEC] Implement Reverse:v1 downgrade pass (#3707) · 34f04d37
      Mateusz Bencer authored
      * Implemented downgrade pass
      
      * Using Pad:v1 in onnx_importer
      
      * Downgrade transformation doc fixed
      
      * Downgrade pass added for all backends
      
      * Apply suggestions from code review
      
      Changed pad_opset_pass to opset_downgrade
      Co-Authored-By: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * Changed order of passes
      
      * Changed downgrade pass order of CPU backend
      
      * Added reverse:v1 downgrade
      
      * Code review remakrs introduced
      
      * Fixed problem with foward declaration
      34f04d37
  26. 07 Oct, 2019 1 commit
    • Mateusz Bencer's avatar
      [SPEC] Implement Pad:v1 downgrade pass (#3670) · 9ae3f6be
      Mateusz Bencer authored
      * Implemented downgrade pass
      
      * Using Pad:v1 in onnx_importer
      
      * Downgrade transformation doc fixed
      
      * Downgrade pass added for all backends
      
      * Apply suggestions from code review
      
      Changed pad_opset_pass to opset_downgrade
      Co-Authored-By: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * Changed order of passes
      
      * Changed downgrade pass order of CPU backend
      
      * Code review remarks introduced
      9ae3f6be
  27. 01 Oct, 2019 1 commit
  28. 30 Sep, 2019 3 commits
  29. 27 Sep, 2019 1 commit
  30. 20 Sep, 2019 2 commits
  31. 18 Sep, 2019 1 commit
    • Mateusz Bencer's avatar
      [Spec] Implement Pad:v1 (#3574) · 81b492d4
      Mateusz Bencer authored
      * Pad:v1 was introduced
      
      * Fixed problem with foward declaration
      
      * Code review remarks introduced
      
      * Addtinal asserts and unit-test for Pad:v1 introduced
      
      * Handled optinal arg_pad_value input
      
      * Fixed unit tests messages and clang styles applied
      
      * Styles applied, checking rank improved
      
      * Updated changes.md
      
      * Revert "Updated changes.md"
      
      This reverts commit 8ee16e580705275ee0719648d5251021354e4d84.
      
      * Clang warning fixed
      81b492d4
  32. 04 Sep, 2019 1 commit
    • Michał Karzyński's avatar
      Add support for operator sets and Softmax:1 (#3420) · d218ccf9
      Michał Karzyński authored
      * Add opset_version field to Node
      
      * Add opset version aliases to Softmax
      
      * Add op::set1::Softmax operator
      
      * Disable opset 1 ops in INTERPRETER
      
      * Add serializer support for Softmax opset 1
      
      * Opset1Transformation pass
      
      * Added unit tests to softmax pass
      
      * Code refactoring
      
      * Added missing virtual to set_opset_version
      
      * Clang styles applied
      
      * Update src/ngraph/pass/opset1_transform.cpp
      Co-Authored-By: 's avatarAdam Procter <adam.m.procter@intel.com>
      
      * Part.1 Code review remarks introduced
      
      * Part.2 Code review remarks introduced
      
      * Changed opset_version to op_version
      
      * Code review remarks introduced
      
      * Code review remarks introduced
      
      * Set Op as base class for Softmax instead of UnaryElementwiseArithmetic
      
      * Fixed unit tests
      
      * v1::Softmax::generate_adjoints mark temporarily as not supported
      
      * Fix CI. Part.2
      
      * Fix CI. Part.3
      
      * Code review remarks introduced
      
      * Rename Opset1Transformation to Opset1Upgrade
      
      * Fixed clag style problem with enum switch
      
      * Fixes clang compilator error
      
      * Removed unused foward declaration
      
      * Code review remarks introduced
      
      * Added checking if input rank is static
      d218ccf9