- 10 Jan, 2020 2 commits
-
-
Ewa Tusień authored
* Added GatherElements op to ONNX importer. * Changed attributes to inputs. * Undo unnecessary changes. * Added Pad version 11. * Added 11 version for Pad op. * Changed axis element type. * Added optional input. * Code formatting. * Added test. * Update onnx_import.in.cpp * Removed debug code. * Added function for setting mode. * Added support for pads argument provided as Constant. * Code refactoring. * Code refactoring. Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com>
-
Ewa Tusień authored
* Removed Recoprocal FusedOp and moved definition to ONNX importer. * Removed unnecessary changes. * Added test. * Undo unnecessary changes. Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com>
-
- 09 Jan, 2020 1 commit
-
-
Katarzyna Mitrus 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 * Make code slightly more readable Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com> Co-authored-by: Michał Karzyński <postrational@users.noreply.github.com> Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com>
-
- 01 Jan, 2020 1 commit
-
-
Robert Kimball authored
* Update license to new year * Pick up some strays
-
- 17 Dec, 2019 1 commit
-
-
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.
-
- 13 Dec, 2019 1 commit
-
-
Tomasz Dołbniak authored
-
- 07 Dec, 2019 1 commit
-
-
Ewa Tusień authored
* [ONNX] Added gatherND op to ONNX importer. * Added tests. * Removed new line. * Update onnx_import.in.cpp * Changed tests.
-
- 27 Nov, 2019 2 commits
-
-
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
-
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
-
- 25 Nov, 2019 1 commit
-
-
suryasidd authored
* Matmul float type test case for UEP Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Removed microsoft ops domains and ran clang-format Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com>
-
- 05 Nov, 2019 1 commit
-
-
Mateusz Bencer authored
-
- 25 Oct, 2019 1 commit
-
-
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
-
- 17 Oct, 2019 1 commit
-
-
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.
-
- 15 Oct, 2019 1 commit
-
-
Michał Karzyński authored
-
- 11 Oct, 2019 1 commit
-
-
Ewa Tusień authored
* [ONNX] Added Expand op to ONNX importer. * Added support only for static broadcating. * Changed version of set from 8 to 1. * Added test for expand op.
-
- 20 Sep, 2019 1 commit
-
-
Tomasz Dołbniak authored
-
- 18 Sep, 2019 1 commit
-
-
Tomasz Dołbniak authored
* Do not throw for unknown domains in ONNX models * UT that makes sure onnx_importer does not throw for unknown domains * Check if nGraph throws for unknown ONNX domain and op
-
- 19 Jul, 2019 1 commit
-
-
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
-
- 16 Jul, 2019 2 commits
-
-
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.
-
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.
-
- 28 Jun, 2019 1 commit
-
-
Adam Rogowiec authored
-
- 27 Jun, 2019 1 commit
-
-
Adam Rogowiec authored
* Add LpNormalization operator along with unit tests. * Add validation macro based on NGRAPH_CHECK. * Add InstanceNormalization operation along with unit tests. * Update supported ops table. * Fix merge error.
-
- 26 Jun, 2019 1 commit
-
-
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
-
- 25 Jun, 2019 1 commit
-
-
Adam Rogowiec authored
-
- 24 Jun, 2019 3 commits
-
-
nishant.b.patel authored
-
Adam Rogowiec authored
-
Adam Rogowiec authored
-
- 14 Jun, 2019 1 commit
-
-
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> ;)
-
- 13 Jun, 2019 1 commit
-
-
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
-
- 12 Jun, 2019 1 commit
-
-
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
-
- 31 May, 2019 1 commit
-
-
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.
-
- 24 May, 2019 1 commit
-
-
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
-
- 10 May, 2019 1 commit
-
-
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.
-
- 09 May, 2019 1 commit
-
-
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
-
- 18 Apr, 2019 1 commit
-
-
Tomasz Dołbniak authored
* [ONNX] Erf test for integer values * [ONNX] switch off model_erf_int32 test on GPU
-
- 17 Apr, 2019 1 commit
-
-
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.
-
- 09 Apr, 2019 1 commit
-
-
Adam Straw authored
-
- 08 Apr, 2019 1 commit
-
-
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
-
- 05 Apr, 2019 2 commits
-
-
Michał Karzyński authored
* [ONNX] Unit test models for DequantizeLinear * add unit tests and suppot axis * ignore unit tests on GPU * fix build warning
-
Michał Karzyński authored
* [ONNX] Unit tests for QuantizeLinear * Fix some syntax issues * get tests passing * adding prototxt files with correct names * disable new tests in the GPU * cleanup * style
-