- 07 Feb, 2020 1 commit
-
-
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.
-
- 11 Jan, 2020 1 commit
-
-
Adam Rogowiec authored
* Return v1::Reshape in builder::reshape function. * Use default_opset in ONNX Convolution operators. * Revert builder::reshape to return v0 op. * Remove unused code. * Update year in license header. * Remove AutoBroadcastSpec arg and use default value. Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 10 Jan, 2020 1 commit
-
-
Mateusz Bencer authored
* Add using Reshape:v1 * Use Reshape:v0 in group_conv * Use Reshape_V1 in builder:flatten * builder:v1 introduced * Revert old builders to use Reshape:v0 * removed unused Transpose test * Update test/opset_pass/transpose_opset_pass.cpp * Changed builders to opset1 * Use opset1 instead of v1 Co-authored-by:
Robert Kimball <robert.kimball@intel.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
- 07 Jan, 2020 1 commit
-
-
Adam Rogowiec authored
* Fix spelling, and comment formatting. * Update Reduction operation to use v1 operators. * Upgrade/downgrade passess for ReduceMin/Max ops. * Address review comments: - Remove unnecessary AutoBroadcast arg. - Use default_opset namespace. Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 01 Jan, 2020 1 commit
-
-
Robert Kimball authored
* Update license to new year * Pick up some strays
-
- 19 Dec, 2019 1 commit
-
-
Mateusz Bencer authored
* first version * Added constant cast * Updated ref implementation * Fixed out element type * Added UT * Code refactor
-
- 12 Dec, 2019 1 commit
-
-
Tomasz Socha authored
* Add upgrade and downgrade pass for GroupConvolutionBackpropData ops - Add up/downgrade passes for GroupConvolutionBackpropData operators - Improve decompose operatorion of v0::GroupConvolutionBackpropData to support N-dimensional data - Add UT for up/downgrade passes. * Remove unused variable
-
- 06 Dec, 2019 1 commit
-
-
Tomasz Socha authored
-
- 05 Dec, 2019 1 commit
-
-
Jayaram Bobba authored
* Added v1::Select op with support for implicit broadcasting * Addressed PR feedback * Constant folding support for v1::Select op * Remove commented-out code * More shape inference tests
-
- 02 Dec, 2019 1 commit
-
-
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
-
- 28 Nov, 2019 2 commits
-
-
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
-
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
-
- 27 Nov, 2019 1 commit
-
-
Scott Cyphers authored
-
- 25 Nov, 2019 1 commit
-
-
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
-
- 22 Nov, 2019 1 commit
-
-
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
-
- 08 Nov, 2019 1 commit
-
-
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
-
- 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.
-
- 04 Nov, 2019 2 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
-
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
-
- 29 Oct, 2019 1 commit
-
-
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
-
- 28 Oct, 2019 1 commit
-
-
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
-
- 24 Oct, 2019 2 commits
-
-
Nishant Patel authored
* Dynshape support for GenerateMask * fix clang error * Remove comments * Test case correction * Disable plaidml * Merge
-
Mateusz Bencer authored
* Implemented downgrade pass * Added v1 support in onnx importer * Clang style applied * Pooling factory refactor * Removed unused variables * clang styles apllied * Fixed avg pool bprop UT
-
- 22 Oct, 2019 1 commit
-
-
Adam Rogowiec authored
-
- 21 Oct, 2019 1 commit
-
-
Nishant Patel authored
* AvgPoolBprop dynamic shape support * Add opset_transform test * Call the correct shape relevance function * Unused variable
-
- 17 Oct, 2019 1 commit
-
-
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
-
- 11 Oct, 2019 2 commits
-
-
Michał Karzyński authored
* Unify test names for opset transformation passes * Unify downgrade test names
-
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:
Tomasz Socha <tomasz.socha@intel.com> * Fix names * Apply suggestions from code review Removed redundant include, renamed tests Co-Authored-By:
Tomasz 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:
Michał Karzyński <postrational@users.noreply.github.com> * Disable not supported PlaidML tests * Added missing EOF
-
- 10 Oct, 2019 1 commit
-
-
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:
Tomasz 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
-
- 07 Oct, 2019 1 commit
-
-
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:
Tomasz Socha <tomasz.socha@intel.com> * Changed order of passes * Changed downgrade pass order of CPU backend * Code review remarks introduced
-
- 01 Oct, 2019 1 commit
-
-
Tomasz Dołbniak authored
-
- 30 Sep, 2019 3 commits
-
-
Mateusz Bencer authored
-
Tomasz Socha authored
-
Tomasz Dołbniak authored
-
- 27 Sep, 2019 1 commit
-
-
Tomasz Socha authored
* Add new enum: RoundingType for pooling operations * Add v1::AvgPool op * Add v1::MaxPool op * Fix comments format * Fix problem with forward declaration * new UT & fix some bugs
-
- 20 Sep, 2019 2 commits
-
-
Mateusz Bencer authored
-
Mateusz Bencer authored
* Gather:v1 was introduced * Added support for negative axis * Removed unsused serialization * Code review remarks introduced * Change returned type of get_axis method * Code review remarks introduced * Chnaged axis_node to scalar during transformation * Clang style applied * Fixed clang errors * style
-
- 18 Sep, 2019 1 commit
-
-
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
-
- 04 Sep, 2019 1 commit
-
-
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:
Adam 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
-