1. 12 Feb, 2020 1 commit
  2. 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
  3. 06 Feb, 2020 1 commit
  4. 04 Feb, 2020 1 commit
  5. 02 Feb, 2020 1 commit
  6. 29 Jan, 2020 1 commit
    • Tomasz Dołbniak's avatar
      [ONNX] Initial support for dynamic shapes (#4197) · 4c322687
      Tomasz Dołbniak 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
      
      * ONNX provenance tags adjustments and back to get_shape
      
      * Remove an obsolete space in provenance tags
      Co-Authored-By: 's avatarMichał Karzyński <postrational@users.noreply.github.com>
      
      * Remove an obsolete space in provenance tests
      Co-authored-by: 's avatarMichał Karzyński <postrational@users.noreply.github.com>
      Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      4c322687
  7. 23 Jan, 2020 2 commits
  8. 16 Jan, 2020 2 commits
    • Sang Ik Lee's avatar
      [MLIR] Remove halide. (#4182) · c2bdccfa
      Sang Ik Lee authored
      * Remove halide.
      
      * Remove stale code.
      
      * Put back incorrectly removed code.
      c2bdccfa
    • Amy Zhuang's avatar
      [MLIR] Use call back for MatMul. (#3838) · c737a573
      Amy Zhuang authored
      * [MLIR] Use call back for MatMul.
      
      * Use callback for Gemm.
      
      * Use mkldnn callback for Softmax.
      
      * Address PR feedback.
      
      * Fix merge errors.
      
      * Change to tail allocation struct.
      
      * Use mkldnn callback for AvgPool.
      
      * Add callbacks for AvgPoolBackprop, MaxPool, and MaxPoolBackprop.
      
      * Fix merge errors.
      
      * Use UnrankedMemRefType for callbacks.
      
      * Address PR feedback.
      
      * Cleanup.
      
      * Address PR feedback.
      
      * Fix a bug.
      
      * Use global variable to hold attributes.
      
      * Convert layout if needed for pooling.
      
      * Address PR feedback.
      
      * Add header.
      
      * Address PR feedback.
      
      * Update Copyright to 2017-2020.
      
      * Address PR feedback.
      Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      c737a573
  9. 14 Jan, 2020 1 commit
    • Tomasz Dołbniak's avatar
      [ONNX] Extended support for provenance tags (#4154) · 9bfbd3c6
      Tomasz Dołbniak authored
      * Checking if provenance_tags key exists
      
      * Add provenance tag prototype
      
      * Format provenance tag
      
      * Display provenance tag
      
      * Clean debug printing
      
      * Add const to variables
      
      * Separate method for add provenance tags
      
      * Return NodeVector reference
      
      * Return const NodeVector
      
      * Moved add_provenance_tags function to commons
      
      * Style apply
      
      * Simple model for tests
      
      * Provenance tag test
      
      * Expect substring instead of  equal
      
      * Add provenance tags to intermediate nodes recursively
      
      * One tag per node
      
      * Add traverse node args instead of recursion
      
      * Return NodeVector instead of set of pointers
      
      * Use treverse_nodes and lambda function
      
      * Remove unused helper functions
      
      * Remove is_constant() condition
      
      * Update test model prototxt
      
      * Update test substring
      
      * Use node name and output names to build provenance tags in onnx importer
      
      * Unit tests for onnx_importer provenance tags
      
      * Missing <numeric> include
      
      * Add provenance tags to constants buit from ONNX initializers
      
      * Add provenance tags to Constants and Parameters created out of ONNX inputs and initializers
      
      * More strict assertions in onnx provenance tests
      
      * Unit test for onnx importer Parameter nodes tagging
      
      * Helper function for the onnx provenance tests
      
      * Some docs
      
      * Obsolete comment removal
      
      * Separate file for onnx provenance tags unit tests
      
      * Code formatting
      
      * Move the inputs tagging to the Graph class
      
      * Tagging moved to the Graph class entirely
      
      * Missing include and extra helper variable
      
      * Unit tests helper documentation
      
      * Change the UT helper to lowercase
      Co-authored-by: 's avatarKatarzyna Mitrus <katarzyna.mitrus@intel.com>
      9bfbd3c6
  10. 11 Jan, 2020 2 commits
  11. 10 Jan, 2020 1 commit
  12. 08 Jan, 2020 1 commit
  13. 07 Jan, 2020 1 commit
  14. 01 Jan, 2020 1 commit
  15. 11 Dec, 2019 1 commit
    • Robert Kimball's avatar
      Remove GOE from Adjoints class (#3973) · f803feb7
      Robert Kimball authored
      * Change generate_adjoints to take an OutputVector instead of a NodeVector for deltas.
      
      * Cleanup
      
      * Adjoints class convert to use Output<Node>
      
      * More cleanup
      
      * More cleanup
      
      * Post-merge build issues
      
      * Don't push initial bprops multiple times
      
      * Eliminate GOE correctly
      
      * back-compatibility, unit test
      f803feb7
  16. 05 Dec, 2019 1 commit
  17. 03 Dec, 2019 2 commits
  18. 02 Dec, 2019 2 commits
    • Mateusz Bencer's avatar
      [SPEC] Add GatherTree:v1 (#3967) · 9b2095ed
      Mateusz Bencer authored
      * GatherTree introduced
      
      * Added GatherTree type_prop tests
      9b2095ed
    • Mateusz Bencer's avatar
      [SPEC] Add DeformablePSROIPooling v1 (#3954) · 95d072aa
      Mateusz Bencer authored
      * Initial commit
      
      * Moved DeformablePSROIPooling to v1
      
      * Moved DeformablePSROIPooling to v1. Part.2
      
      * Added missing fields
      
      * Added inferance shape
      
      * Added type prop UT
      
      * Added serialization
      
      * Doc + styles applied
      
      * Revert incorrect changes
      
      * Revert incorrect changes. Part.2
      
      * Moved to NGRAPH_API
      
      * integration with master
      
      * Code review remarks introduced
      
      * DeformablePSROIPooling updated to new spec
      95d072aa
  19. 01 Dec, 2019 1 commit
    • baojun's avatar
      Add groupconvolution bprop (#3940) · cca14ae1
      baojun authored
      * add placeholder for conv bprop
      
      * add constructor, api, serializer and can compile
      
      * implement decompose_op
      
      * fix arg num
      
      * fix and update
      
      * address comment, clean up and add ut placeholder
      
      * update ut
      
      * address comment on groups
      cca14ae1
  20. 28 Nov, 2019 1 commit
    • 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
  21. 27 Nov, 2019 1 commit
    • Ilya Lavrenov's avatar
      Partially fixed visibility for symbols (Ops, Nodes, Transformations, Matchers) (#3767) · 8fb151f4
      Ilya Lavrenov authored
      * Partially fixed visibility for symbols:
      
      * Resolved issues with RTTI and AppleClang
      
      * style
      
      * review fixes
      
      * fixed compilation with msvc 2019
      
      * Export extra API which is used in other public classes
      
      * CMAKE: MSVS -> MSVC
      
      * Fixed template export
      
      * Fixed compilation flags
      
      * Fixed default args
      
      * removed self-inclusion
      
      * export
      
      * shape
      
      * export strides
      
      * Export all symbols needed for OpenVINO
      
      * Export
      
      * disable cpu
      
      * AxisSet
      
      * disable warning
      
      * fix
      
      * removed second declaration
      
      * fixed runtime exports
      
      * Reverted some changes
      
      * Fixed LNK2005 error on Windows
      
      * Fixed code style check
      
      * Fixed EnumAttributeAdapterBase
      
      * Remove export of template classes
      
      * Fixed code style for EnumAttributeAdapterBase
      
      * Fixed for protobuf
      8fb151f4
  22. 26 Nov, 2019 1 commit
    • Pruthvi's avatar
      Cumulative Sum (#3873) · 77a99b30
      Pruthvi authored
      * - Op defination for cummalative sum
      
      * WIP reference kernel for cummulative sum
      
      * - unit test case for default cum_sum
      - addition ctor for cumsum to accept axis as a integer insted of Node
      type
      - style fix
      
      * - add serializer support
      - fix failing unit test case
      - update Op in the interpreter dispatcher
      
      * - CPU builder and DEX support for CumSum
      
      * - implemented mapping tensor elements to corrosponding axis
      
      * - unit test for multiple dims
      - fix axis in the op defination
      - support for reference kernel to compute across all axis
      
      * - added support for exclusive and reverse modes
      - more unit test case for all modes
      
      * - codegen support for CumSum
      - disable CumSum unit test for PlaidML
      
      * -Add missing header to  codegen stream writer
      
      * fixed codegen writer
      
      * change return type of exclusive and reverse to bool
      
      * - support for dynamic shape
      - support to handle all tensor types in CPU builder
      
      * - add support for interpreter to handle different axis types
      
      * Style fix
      77a99b30
  23. 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
  24. 22 Nov, 2019 3 commits
  25. 21 Nov, 2019 1 commit
  26. 15 Nov, 2019 2 commits
    • Mateusz Bencer's avatar
      [FUSED] Add new LogSoftmax fused op (#3867) · 2f69f86c
      Mateusz Bencer authored
      * LogSoftmax introduced
      
      * Added LogSoftmax to serializer
      
      * Fixed style
      
      * Fixed CmakeLists style
      
      * code review remarks introduced
      
      * Code review remarks introduced
      2f69f86c
    • Scott Cyphers's avatar
      Attribute visitor (#3579) · bc1ca25b
      Scott Cyphers authored
      * Sketch of attribute walker
      
      * Review comments
      
      * merge error?
      
      * Remove unused method
      
      * simplify, make some ser tests work
      
      * Don't look for keys that aren't there
      
      * Factory registry, more ops visited, generic ser/dser start
      
      * More merge
      
      * cleanup
      
      * Adapter for enums
      
      * Compiler error
      
      * Test of user-defined op
      
      * Simplify enum name pairing
      
      * Update distributed.hpp
      
      * Review comments
      
      * compiler error
      
      * Direct access to non-primitive types from adapters
      
      * Define and export type info
      
      * attr enums, AvgPool*, vectors
      
      * Cleanup
      
      * some comments
      
      * Allow type info to be used as a key.
      
      * Don't leave output serialization shapes set.
      
      * Auto adapter
      
      * More ops, adapters
      
      * Missing symbol
      
      * Remove PartialShape and element::Type methods from visitor
      
      * Fix type info
      
      * Remove unused variable
      
      * Simplify
      
      * namespace error
      
      * exports
      
      * Uniform names
      
      * Some better names
      
      * More name cleanup, simplify visitor implementation
      
      * Fix template, add test
      
      * Revert serializer
      
      * Add instantiations
      
      * Work-around gcc issue
      
      * VS exports
      
      * VS exports
      
      * windows export
      
      * vs
      
      * vs
      
      * vs
      
      * vs
      
      * Simplify
      
      * vs
      
      * vs
      
      * Add some missing attributes
      
      * Missing factories
      
      * Merge error
      
      * Fix Add factories
      
      * Missed type
      bc1ca25b
  27. 07 Nov, 2019 1 commit
  28. 06 Nov, 2019 2 commits
    • Gleb Kazantaev's avatar
      Fixed compilation warnings to build nGraph unit tests in OV CI (#3841) · ccbba5e4
      Gleb Kazantaev authored
      * Fix for openvino ci
      
      * Fix
      
      * Resolve comments
      
      * Revert_changes
      ccbba5e4
    • 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
  29. 04 Nov, 2019 2 commits
    • Nagy Mostafa's avatar
      [MLIR] New Core Ops (V0) and Ops Versioning in NG dialect (#3764) · 8ef5b0ca
      Nagy Mostafa authored
      * Init commit to implement interface
      
      *  Add two op interfaces for v0 and v1. Add a unit-test
      
      * Add missing files
      
      * Move test to separate file
      
      * Add Fused Op interface
      
      * Missing files
      
      * style
      
      * fused ops
      
      * Remove V1 ops for now
      
      * Added enum attributes. WIP
      
      * Completed non-experiemntal non-fused-ops
      
      * Add ops_attributes
      
      * Minor fixes
      
      * Minor fixes
      
      * Added enum setting/reading test
      
      * style-apply
      
      * Added attributes tests
      
      * Fix dialect init
      
      * style
      
      * fix typo
      
      * Fix merge errors
      
      * Include file with MLIR on
      8ef5b0ca
    • 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
  30. 29 Oct, 2019 1 commit