- 06 Nov, 2019 1 commit
-
-
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.
-
- 05 Nov, 2019 4 commits
-
-
Tomasz Socha authored
* [FUSED] Add new Selu fused op. * Add Selu to serializer * Add Selu to ngraph.hpp
-
Sayantan Sarkar authored
-
Scott Cyphers authored
* Fix float16 denorm conversion, add rounding * review comments
-
Mateusz Bencer authored
-
- 04 Nov, 2019 10 commits
-
-
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
-
Robert Kimball authored
* Return pass created with register_pass call * Add test
-
Fabian Boemer authored
This matches the behavior in FindProtobuf.cmake, https://github.com/Kitware/CMake/blob/master/Modules/FindProtobuf.cmake#L624-L626 (https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html#command:find_package_handle_standard_args)
-
Ilya Lavrenov authored
-
Jayaram Bobba authored
* Allow fused ops to create outputs and set types/shapes in pre_validation * style fix
-
Tomasz Socha authored
-
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
-
Ewa Tusień authored
* Added tool for running Onnx models via nGraph C++ API. * Code formatting. * Added option to load inputs from binary files. * Removed unused variables. * Changed description. * Moved read_binary_file function from test_tools to ngraph utils. * Added option to provide arguments with equals sign. * Bugfix. * Changed reading file. * Code refactoring. * Added output printing. * Added comments. * Undo moved function. * Removed unused imports. * Update docstring Co-Authored-By: Michał Karzyński <postrational@users.noreply.github.com> * Update docstring Co-Authored-By: Michał Karzyński <postrational@users.noreply.github.com> * Added catching exception. * Code refactoring.
-
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
-
Mateusz Bencer authored
-
- 01 Nov, 2019 3 commits
-
-
Gleb Kazantaev authored
* Added shape inference for entire graph to constant folding pass * Updated specialize_function * FusedOp MVN fix * style * Fixed issue with export symbols * Fixed code style
-
Sayantan Sarkar authored
* Initial commit * Minor * Intentional bug * Revert "Intentional bug" This reverts commit 11868b11ef83a92f094c7baed9c00a8b5ee2747d.
-
Yimei Sun authored
-
- 31 Oct, 2019 4 commits
-
-
Gleb Kazantaev authored
* Constant folding support for V1 Reshape * Fixed constant folding tests
-
gaurides authored
* Initial implementation * Fixed Gelu * Gelu backprop initial implementation * Add GeluBackprop fusion * Gelu and gelu backprop fusion test cases * Prevent decompose_op() for Gelu/GeluBackpropFactor for some type * Fixes and cleanup * Enabled backprop fusion * Fixed some issues * Mostly cleanup * Some more cleanup * File permissions * Remove unused variable * Style check * Address PR feedback * Address PR feedback * Incorporate changes related to latest master * Style check * Some more PR feedback related changes * Remove comment * Check for relative error * Retrigger CI * corrected syntax
-
Ewa Tusień authored
-
Ilya Churaev authored
-
- 30 Oct, 2019 6 commits
-
-
Scott Cyphers authored
-
Scott Cyphers authored
-
Scott Cyphers authored
-
Scott Cyphers authored
-
baojun authored
-
Pruthvi authored
* Re-organize files. Create MLIR backend classes * WIP * Refactored. Code compiles * Moved context to Runtime class to outlive compilation and execution * style-apply * Base Runtime class. Few other modifications * Minor fixes * Fixed Runtime::run() to take type-erased pointer * renamed core compiler * rename backend compiler * rename runtime compiler * PR feedback * Fix build fails * - refactor LowerNGDialect - addgraph pass to lower standardDialect to llvm module * Addressed PR Comments * i) Style fix ii) restore deleted file
-
- 29 Oct, 2019 5 commits
-
-
Mateusz Bencer authored
-
Mateusz Bencer authored
* Introduced reshape:v1 downgrade * Enable downgrade pass in dynamic backend * Add unit test for dynamic backend downgrade pass * Clang styles applied * Apply unit tests name refactor based on code review Co-Authored-By: Michał Karzyński <postrational@users.noreply.github.com> * Removed redundant pass * Changed order of downgrade pass * Changed order of passes in dynamic backend
-
Jayaram Bobba authored
-
Tomasz Socha authored
* Rename input arg -> data * Update node validation and shape propagation to support data rank and number of repeats to be different. * Add type_prop tests * Add UT for new tile cases * style * Modify CPU backend to support the new case. * Fix backend selection in test * Add new line back.
-
Nagy Mostafa authored
* Re-organize files. Create MLIR backend classes * WIP * Refactored. Code compiles * Moved context to Runtime class to outlive compilation and execution * style-apply * Base Runtime class. Few other modifications * Minor fixes * Fixed Runtime::run() to take type-erased pointer * renamed core compiler * rename backend compiler * rename runtime compiler * PR feedback * Fix build fails
-
- 28 Oct, 2019 2 commits
-
-
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
-
Leona C authored
* Initial draft start * Add provenance doc * Another effort at resolving doc build warning * Revert file * Revise provenance intro * Ensure Clang dependencies update with new minimum version of clang needed * PR review feedback, cleanup other change added to collab_ngai
-
- 25 Oct, 2019 5 commits
-
-
Scott Cyphers authored
-
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
-
mozga-intel authored
* Concat operator is updated to support dynamic_shape 1) Added new concat_negative_indexing test 2) Replaced size_t -> int64_t 3) Support for a negative indexing, calculate axis = axis + int64(input_rank) if (axis < 0) { axis = axis + int64_t(this_input_rank); } * Remove unwanted #include "ngraph/op/constant.hpp" header * Refactoring: 1) The name of variable is replaced: m_concatenation_axis -> m_axis * Concat negative indexing test is adjusted to support dynamic_shape tensor auto pshape_a = PartialShape::dynamic(); for each tensor {a,b,c} result tensor has dynamic_shape * The backend supports dynamic shapes auto backend = runtime::Backend::create("${BACKEND_NAME}", true); * Other shape is supported by concat: set_output_type(0, inputs_et, PartialShape::dynamic(concatenation_axis_output_dim)); * The NODE_VALIDATION_CHECK was moved up to be for a dynamic_shape * [Test] The shape of output tensor was changed [Concat CPU] Added support for a negative indexing on a cpu * Review changes: 1) Added axis re-calculate for a reference version of concat 2) axis is not replied * Review changes: support for a negative axis * Comment about variable is added to concat.hpp file Removed unused variable
-
Ilya Churaev authored
* Added auto generated configs for nGraph * Fixed absolute paths * Fixed comments
-
Amy Zhuang authored
* Add constant folding for v1 reduce ops. * Add reference/mean.hpp. * Remove extra semicolon. * Address PR feedback.
-