1. 10 Jan, 2020 2 commits
  2. 09 Jan, 2020 1 commit
  3. 01 Jan, 2020 1 commit
  4. 17 Dec, 2019 1 commit
    • Ewa Tusień's avatar
      Add ScatterND FusedOp (#4018) · 46ff13c7
      Ewa Tusień authored
      * Added scatterND op to ONNX importer.
      
      * Added ScatterND FusedOp.
      
      * Removed unnecessary files.
      
      * Added op to config files.
      
      * Changed input order.
      
      * Fixed validation checking.
      
      * Added suport for int64 in ScatterNDAdd op.
      
      * Changed test.
      
      * Disabled test for plaidML.
      
      * Code refactoring
      
      * Added tests.
      46ff13c7
  5. 13 Dec, 2019 1 commit
  6. 07 Dec, 2019 1 commit
  7. 27 Nov, 2019 2 commits
    • Katarzyna Mitrus's avatar
      [ONNX] Add CumSum to ONNX importer (#3918) · 3ee833b7
      Katarzyna Mitrus authored
      * Register CumSum operator in onnx importer
      
      * Missing whitespace
      
      * Update CMakeLists.txt
      
      * ONNX importer - CumSum op init
      
      * Simple CumSum onnx model
      
      * ONNX CumSum model simple test
      
      * Default axis
      
      * Axis input test
      
      * Inputs variable
      
      * Style apply
      
      * Test 3d exclusive reverse
      
      * Apply style
      
      * Add memory header and std namespace
      
      * Add model_cum_sum tests to plsidml unit_test.manifest
      
      * Add model_cum_sum tests to plaidml unit_test.manifest
      
      * Changed default axis type
      
      * Test model update
      
      * Style apply
      
      * Add test for dynamic axis input
      3ee833b7
    • Mateusz Bencer's avatar
      [SPEC][FusedOp] Add Mod operator (#3908) · 9178c15a
      Mateusz Bencer authored
      * Mod operator introduced
      
      * Introduced onnx importer, fixed implementation
      
      * styles applied
      
      * Refactored assert comment for mod
      
      * Add failure mod test to plaidml manifest
      
      * Code review remarks introduced
      
      * Changed ops used in decompose to v1
      
      * Moved Mod to op_v1_tbl
      9178c15a
  8. 25 Nov, 2019 1 commit
  9. 05 Nov, 2019 1 commit
  10. 25 Oct, 2019 1 commit
    • Pruthvi's avatar
      Softmax + cross Entropy fusion for numerical Stabilization (#3669) · 1e2a3f34
      Pruthvi authored
      * - WIP fusion pattern for softmax + cross entropy
      
      * fix compiler error
      
      *  make summation axis integer for the fusion pattern
      
      * - Fusion pattern for sigmoid cross entropy bprop
      
      * WIP callback implementation for fused sigmod+crossentropy fprop
      
      * - implemented fprop softmax+crossentropy as single layer for numerical
      stabilization
      - added broadcasting nodes to fix elementwise assertions
      
      * Added unit test case for functionality test
      
      * Move the softmax + crossentropy fusion pass to core
      
      * i) style fix ii)added missing header
      
      * - Added new Fused Op for Softmax + CrossEntropy
      - moved the decomposition to the Softmax + CrossEntropy FusedOp
      
      * - Add SoftmaxCrossEntropy for fused tablegen
      - Add serializer support for SoftmaxCrossEntropy
      - fix documentation
      
      * Added missing json file for unit test case
      
      * Addressed PR comment
      
      * Addressed PR comments
      
      * - Fix fusion string
      
      * - Style fix
      
      * - Added Bprop for Softmax + crossEntropy
      
      * - added SoftmaxCrossEntropy support when soft_lable is provided
      - serailizer and deserializer support for SoftmaxCrossEntropyBprop
      
      * - Added support in decompose_op for SM+CE bprop when ignore_mask is specified
      
      * Updated Doc strinng
      
      * - unit test case for SoftmaxCrossEntropy backprop with soft lables
      - fixed decompose_op bug in bprop
      
      * - if soft_label=true, capture pattern only if the labels dont have one
      hot encoding
      
      * - SoftmaxCrossEntropyBprop Support if ignore_index is specified
      
      * add serialized files for unit test
      
      * - fix softmax + CE pattern bug
      - fix softmax + CE decompose_op() bug
      
      * - change reduction_axes to int64_t type in fprop and bprop ctor
      
      * - add soft_labels and ignore_index attribute to SM+CE fprop ctor
      
      * - addition asserts in unit test to ensure SM + CE fprop and bprop fusion is successful
      
      * - move reduction_axis computation to decompose_op from ctor to relax on
      dynamic shapes
      
      * Addressd PR Comments
      
      * - suppprt for SM+CE for ignore_index and softmax=false
      
      * - test case for SM+CE fprop with ignore_mask, soft_labels=false
      - fix bug in decompose_op
      
      * - refactor unit test case
      
      * - fix PDPD unit test
      
      * broadcast delta if shape mismatches
      
      * -fix bdcast issue in decompose_op
      1e2a3f34
  11. 17 Oct, 2019 1 commit
    • Michał Karzyński's avatar
      [ONNX] Add support for ONNX 1.6 TopK (#3771) · 7617d385
      Michał Karzyński authored
      * Minor cleanup
      
      * Add support for ONNX 1.5 version of TopK
      
      * Add unit tests
      
      * Style apply
      
      * Exclude failing tests
      
      * Exclude failing tests
      
      * Add support for ONNX 1.6 TopK attribures: larges and sorted
      
      * Support for ONNX 1.6 TopK
      
      * If k_node is a Constant, recreate as constant with Shape{}
      
      * Extend `interpret_as_scalar` function
      
      * Extend `interpret_as_scalar` function
      
      * Remove merge artifact
      
      * Add doc string
      
      * Exclude failing tests
      
      * Exclude failing tests
      
      * Refactor function
      
      * Remove unnecessary template param
      
      * Use get_k function in OpSet 10 TopK
      
      * Style apply
      
      * Remove merge artifact
      
      * Add tests for `interpret_as_scalar`
      
      * Revert "Add tests for `interpret_as_scalar`"
      
      This reverts commit 8b85965acb39c75ff9e66b06ad8f64df16e1a9da.
      7617d385
  12. 15 Oct, 2019 1 commit
  13. 11 Oct, 2019 1 commit
  14. 20 Sep, 2019 1 commit
  15. 18 Sep, 2019 1 commit
  16. 19 Jul, 2019 1 commit
    • Mateusz Bencer's avatar
      [ONNX] Add ReverseSequence operator (#3239) · 16550767
      Mateusz Bencer authored
      * ReverseSequence operator introduced
      
      * Code review remarks introduced
      
      * Added missing EOF
      
      * Removed unused whitespaces in onnx_import.in.cpp
      
      * Added convert to i32 for sequence_lenghts
      
      * Coode review remarks introduced
      
      * Disable reverse sequence for plaidml backend
      
      * Code style fixed
      16550767
  17. 16 Jul, 2019 2 commits
    • 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
    • Adam Rogowiec's avatar
      [ONNX] Fix backward pass for bidirectional LSTM. (#3194) · 7ccb6cf1
      Adam Rogowiec authored
      * Fix used operator for reversing input sequences in LSTM.
      
      * Fix backward pass for bidirectional LSTM.
      
      * UT for LSTM with sequence_lens shorter than input sequence size.
      
      * Skip LSTM UT using ReverseSequence since it is not supported yet on
      PlaidML.
      7ccb6cf1
  18. 28 Jun, 2019 1 commit
  19. 27 Jun, 2019 1 commit
  20. 26 Jun, 2019 1 commit
    • tsocha's avatar
      [ONNX] Add support for EyeLike operator (#3050) · 5e19c25c
      tsocha authored
      * [ONNX] Add eyelike operator
      
      * Use shifted square identity in square identity
      
      * Make new helper function to map onnx_types<->ngraph_types
      
      * Add fp16 support to ngraph Python API
      
      * Move helper common.hpp => common.cpp
      
      * Add checker for attribute presence
      
      * Style check
      
      * Add definition of shifted word
      
      * Change return value of attribute presence !(==) -> !=
      
      * Rename is_attribute_present => has_attribute
      
      * Clean-up headers in eyelike.cpp
      
      * Organize headers in common.*pp
      
      * Minor review fixes
      
      * Style check
      
      * Add test for EyeLike with negative k
      5e19c25c
  21. 25 Jun, 2019 1 commit
  22. 24 Jun, 2019 3 commits
  23. 14 Jun, 2019 1 commit
    • Tomasz Dołbniak's avatar
      [ONNX] Shrink op support (#3024) · 250dddbc
      Tomasz Dołbniak authored
      * Initial implementation of the Shrink op
      
      * Multiply the values by the correct masks
      
      * Basic test case for Shrink with floats
      
      * Shrink test on integers
      
      * Code formatting
      
      * Shrink documentation and typo fix
      
      * Rephrase the Shrink docs
      
      * Out of <memory> ;)
      250dddbc
  24. 13 Jun, 2019 1 commit
    • Michał Karzyński's avatar
      [ONNX] Add ConvInteger op (#3012) · fa300fae
      Michał Karzyński authored
      * Unit tests for ConvInteger
      
      * Add ONNX ConvInteger op
      
      * Add QuantizedConvInteger builder
      
      * Add unit tests
      
      * Exclude tests on nVidia GPU backend
      
      * Fix merge artifact
      
      * Add const-correctness and allow RVO
      fa300fae
  25. 12 Jun, 2019 1 commit
    • Michał Karzyński's avatar
      [ONNX] Add MatMulInteger op (#3011) · e51c5824
      Michał Karzyński authored
      * Unit tests for MatMulInteger
      
      * Add ONNX MatMulInteger op
      
      * Add QuantizedLinearMatmulInteger builder
      
      * Additional unit test
      
      * Exclude tests on nVidia GPU backend
      
      * Add 4D test case
      
      * Enable >2D MatMulInteger
      
      * Refactoring to MatMulFactory - step 1
      
      * Refactoring to MatMulFactory - step 2
      
      * Remove `using namespace ngraph` to make `Node` unambiguous.
      
      * Disable quantized ops tests on GPU backend
      
      * Remove unused `includes`
      
      * Remove redundant dynamic_pointer_cast
      
      * Remove redundant `move`
      
      * Add const correctness
      
      * Code review comments
      
      * Style apply
      
      * Add documentation
      
      * Use more complex shapes in tests
      e51c5824
  26. 31 May, 2019 1 commit
    • Sang Ik Lee's avatar
      Cleanup how compile flags are set and used by nGraph and external projects. (#2942) · 08dcd01b
      Sang Ik Lee authored
      * Cleanup how compile flags set and used by nGraph and external projects.
      Set C++11 through CMake and pass it down to external projects.
      Prefer CMake variables such as CMAKE_POSITION_INDEPENDENT_CODE and
      CMAKE_CXX_STANDARD instead of explicitly setting compiler dependent
      flags.
      Create json compilation database for external projects.
      CMAKE_CXX_FLAGS is used as common global options for nGraph and external
      projects.
      add_compile_options() is used for local options for current and sub
      directories.
      add_definitions() is used for setting definitions for current and sub
      directories.
      Note: Global options are not passed down to some external projects.
      Note: mkl-dnn resets CMAKE_CXX_FLAGS internally.
      Note: TBB and MLSL are not CMake based.
      Noet: Eigen and json is header only library.
      
      * Fix error.
      
      * Fix error. (second attempt)
      
      * Cleanup code.
      
      * Allow check for undefined macro.
      
      * Try to fix cldnn issue.
      
      * Set type for CMake arguments.
      
      * Pass C++ standard to protobuf.
      
      * Pass C++ standard down to TBB.
      
      * Change how Clang specific flags are handled.
      
      * Fix error.
      
      * Workaround for compile error on Baidu's PDPD docker.
      
      * Fix windows build error.
      08dcd01b
  27. 24 May, 2019 1 commit
    • Michał Karzyński's avatar
      [ONNX] Unit tests for QLinearMatMul (#2706) · 9560c1fa
      Michał Karzyński authored
      * [ONNX] Unit test models for QLinearMatMul
      
      * [ONNX] Extended types support for NgraphTestCase
      
      * [ONNX] Move the value comparators to the NgraphTestCase class
      
      * Add test cases
      
      * Add shape checking
      
      * disable GPU tests
      9560c1fa
  28. 10 May, 2019 1 commit
    • Adam Rogowiec's avatar
      [ONNX] Activation functions parameters for LSTM. (#2842) · dddcd4a8
      Adam Rogowiec authored
      * Move HardSigmoid to nGraph fused operators.
      
      * UT for HardSigmoid fused operator.
      
      * Add type_prop UT.
      
      * Activation function parameters and hardsigmoid activation function.
      
      * UT for lstm with hardsigmoid activation function.
      
      * Reorder operations in implementation.
      
      * Fix unit tests.
      
      * Fix typo.
      
      * Change stored activation function to pure function pointer.
      
      * Apply style-check.
      
      * [ONNX] Refactor LSTM tests to use NgraphTestCase
      
      * Enable passing instance values to comparator
      
      * Style apply.
      
      * Fix style, syntax
      
      * Change order of class member to fix errors.
      
      * Switch to single-precision parameters.
      
      * Disable unit test for IGPU.
      dddcd4a8
  29. 09 May, 2019 1 commit
    • Tomasz Dołbniak's avatar
      [ONNX] Hardmax support in ONNX importer (#2869) · ae352fa4
      Tomasz Dołbniak authored
      * [ONNX] Hardmax implementation in the onnx importer
      
      * [ONNX] More generic handling of types in hardmax
      
      * [ONNX] Support for doubles in EmbeddingLookup CPU builder
      
      * [ONNX] Throw when the provided axis is out of range
      
      * [ONNX] Skip the hardmax test on GPU
      
      * Unused headers clean-up
      
      * refactor: move the identity matrix generator to common.hpp
      
      * ASSERT_VALID_ARGUMENT for axis range validation
      
      * Adapt to the code changes in master
      ae352fa4
  30. 18 Apr, 2019 1 commit
  31. 17 Apr, 2019 1 commit
    • Tomasz Dołbniak's avatar
      [ONNX] Erf op support (#2763) · 45e4e893
      Tomasz Dołbniak authored
      * [ONNX] Erf op support
      
      * [ONNX] Missing CMakeLists entry for the Erf op
      
      * [ONNX] model_erf unit test excluded from GPU
      
      * Update quoting style to fix errors raised by updated version of flake8.
      45e4e893
  32. 09 Apr, 2019 1 commit
  33. 08 Apr, 2019 1 commit
    • Michał Karzyński's avatar
      [ONNX] Unit test models for QLinearConv (#2705) · 9bfc0e5f
      Michał Karzyński authored
      * [ONNX] Unit test models for QLinearConv
      
      * Temp ref conv
      
      * ref conv temp
      
      * add qlinearconv2d test
      
      * adding conv3d test case
      
      * ignore tests on GPU
      
      * Dynamic scale
      
      * add builder based solution for zero point and conv
      
      * Revert "Dynamic scale"
      
      This reverts commit be8e57bdf7013967e5575164a0402dcc6d16b8ed.
      
      * Revert "Merge remote-tracking branch 'origin/nishant_ref_conv_u8u8' into mkarzyns/qlinear_conv_uts"
      
      This reverts commit dea29a18c474b644b5b531f0e59f21d21bd56bf2, reversing
      changes made to b12fc13c5852efa4c335377164d9b7e5d9227a8a.
      
      * style
      9bfc0e5f
  34. 05 Apr, 2019 2 commits