- 07 Feb, 2020 2 commits
-
-
Robert Kimball authored
* Add replaceable topological sort to Function * Cleanup * Cleanup unit test * Address review comment * Fix missed item in merge Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
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.
-
- 06 Feb, 2020 1 commit
-
-
AnastasiaKazantaeva authored
* Failed test if not v1 with error Unsupported ops detected * Python test for execution unit-test * Finilize printing csv file with opset1 * Finilize test development * style-check * Fixed ov_runtime tensor * Fixed code style * Apply suggestions from code review Co-Authored-By:
Geoffrey Wenger <geoffrey.wenger@intel.com> * Fixed comments Co-authored-by:
Ilya Churaev <ilyachur@gmail.com> Co-authored-by:
Geoffrey Wenger <geoffrey.wenger@intel.com>
-
- 04 Feb, 2020 2 commits
-
-
Robert Kimball authored
* Make passes work with list<nodes> * Convert ops returned by Function from list to vector * fix build error Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Robert Kimball authored
Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 03 Feb, 2020 3 commits
-
-
Scott Cyphers authored
-
Robert Kimball authored
Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Jayaram Bobba authored
Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by:
Robert Kimball <robert.kimball@intel.com>
-
- 02 Feb, 2020 1 commit
-
-
Robert Kimball authored
This reverts commit 90a1f581.
-
- 31 Jan, 2020 3 commits
-
-
Scott Cyphers authored
* Printing cleanup Add Input/Output Simplify element type Simplfy Node printing implementation, try to de-noise it a bit Enable printing of Node* * Adjust printing * Add doc note * Update src/ngraph/node.cpp Co-Authored-By:
Robert Kimball <robert.kimball@intel.com> * Update src/ngraph/node.hpp Co-Authored-By:
Robert Kimball <robert.kimball@intel.com> * Cleanup * typo Co-authored-by:
Robert Kimball <robert.kimball@intel.com>
-
Mateusz Bencer 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 * first dynamic version * modified UTs * Added assert checks * Added specialised methods * first verion of AvgPool * code review remarks introduced * Changed tests to use default BackendMode value * Reverted not related changes * code review remarks introduced * Set static backend as default Co-authored-by:
Tomasz Dołbniak <tomasz.dolbniak@intel.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
Robert Kimball authored
* Move non-templated constructor implementation to the source file * Optimize constant constructor for uniform constant * Cleanup * Much faster deserialize constant * Adding unit tests * Unit tests * Update unit test * Cleanup * style * Cleanup nbench output * wip * Fix specializations * Change from unique to shared_ptr internally * Enable copy of Constant * cleanup Constant ctors * Fix copy contructor * Fix compile error Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 30 Jan, 2020 2 commits
-
-
Katarzyna Mitrus authored
* Add provenance tag in opset0 downgrade pass * Add provenance tag in opset1 upgrade pass * Type name as string * Change op_cast to return replacement_node instead of bool * Add provenance tags to all nodes created while downgrade * Add provenance tags to all nodes created while upgrade * Comments * Style apply * Update ONNX import provenance test function * Add const statement * Add upgrade/downgrade provenance tag tests * Update tests * Style apply * Provenance enabled check * Removed redundant add_tag * Test for add_provenance_tags above * Add graph test for provenance tags in transformation pass * Use EXPECT_TRUE and EXPECT_FALSE instead of EXPECT_EQ * Return replacement node directly * Style apply * Test downgrade provenance tag with ONNX importer * Update test/onnx/onnx_import_provenance.in.cpp Co-Authored-By:
Michał Karzyński <postrational@users.noreply.github.com> * Test update * Update provenance test to check node type occurence * Style apply Co-authored-by:
Michał Karzyński <postrational@users.noreply.github.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Katarzyna Mitrus authored
* Add provenance tag in fused decomposition pass * Add and update test for decomposition tag * Style apply * Style apply Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 29 Jan, 2020 2 commits
-
-
Robert Kimball authored
* Add env_util files and update getenv_bool * More getenv cleanup * More env cleanup * Add env var file * fix doc file * cleanup * Update doc string * Fix compile errors * Fix compile error * Fix compile error * Fix one more * Fix compile error * Revert MLIR changes due to failing test * Revert MLIR changes due to failing test * Fix compile error * Fix env var usage Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
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:
Michał Karzyński <postrational@users.noreply.github.com> * Remove an obsolete space in provenance tests Co-authored-by:
Michał Karzyński <postrational@users.noreply.github.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 28 Jan, 2020 1 commit
-
-
Nishant Patel authored
* LRU cache for caching graphs * static * LRU Cache * Cache graph * Make data members static * Temp test case functional * Temp test case functional * Fix shape * Make lru local to dynamic wrapper * Make cache thread safe * Remove static copies of data members * Add a separator between shapes of different inputs * Clear list and map in destructor * Caching on values of shape relevant inputs * Replace cout's by NGRAPH_INFO * Add a environment variable for cache size * Add mutex header * style * change to int64_t * Save the cloned function to get the output shape to allocate output storage * Pass inputs without wrapping * Fix conv shape relevant inputs * gcc 4.8 doesnt support ostring stream as a copyable object * Pass key by reference * PR feedback * Apply suggestions from code review * Replace malloc Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by:
Robert Kimball <robert.kimball@intel.com>
-
- 27 Jan, 2020 1 commit
-
-
Ashok Emani authored
Co-authored-by:
asemx <998264+asemx@users.noreply.github.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 23 Jan, 2020 4 commits
-
-
Scott Cyphers authored
* Make pattern matcher node-based Simplify implementation Add support for Or, Branch Start of support for recurrent pattern * Only save state at branch points * Factor Or out of label * Documentation * Review * Only ops need to match on shape/output index
-
Ewa Tusień authored
* Removed ONNXIFI files and all files associated with ONNXIFI support. * Changed docstrings. Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Robert Kimball authored
* Move non-templated constructor implementation to the source file * Optimize constant constructor for uniform constant * Cleanup * Much faster deserialize constant * Adding unit tests * Unit tests * Update unit test * Cleanup * style * Cleanup nbench output * Fix specializations Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Ilya Churaev authored
* Added 3 new attributes to PriorBox and reworked shape inference to be aligned with OpenVINO Model Optimizer PriorBox translation rules. * Correctly handle scale_all_sizes in PriorBox op shape inference * Fixed PriorBox unit tests Co-authored-by:
Sergey Lyalin <sergey.lyalin@intel.com>
-
- 22 Jan, 2020 1 commit
-
-
Mateusz Bencer authored
* Resolved problems with too restrictive data type * Apply suggestions from code review Code review remarks introduced Co-Authored-By:
Tomasz Socha <tomasz.socha@intel.com> * Code review remarks. Part.2 Co-authored-by:
Tomasz Socha <tomasz.socha@intel.com> Co-authored-by:
Adam Rogowiec <adam.osewski@intel.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
- 21 Jan, 2020 1 commit
-
-
Diego Caballero authored
* [MLIR] Update build system to use LLVM mono-repo for MLIR * [MLIR] LLVM mono-repo conflicts * Disable lit tests * Fix formatting * Fix memopt tests * PR fix * Fix view test Co-authored-by:
Nagy Mostafa <nagy.mostafa@gmail.com>
-
- 17 Jan, 2020 2 commits
-
-
Sang Ik Lee authored
* Add new option to do a clean Ninja build. * Enable Interpreter and unit-test. * Enable json. * Enable NOP backend. * Enable tools. * Enable CPU DEX ONLY on Linux. * Quick hack to enable dex only on Mac. * Enable onnx import. * Cleanup gtest. * Cleanup tbb_prebuilt. * Fix typo. * Move gtest include point. * Fix gtest windows path. * Remove temporary option. * Keep GCPU upto date with INTERPRETER. * Add missing file. * Enable GCPU. * Enable CPU codegen. * Remove tabs. * Revert "Merge branch 'silee2/gcpu' into silee2/ninja" This reverts commit e513cd3fe3659a477af6e8fab6c1852a5b1493c3, reversing changes made to 31dca3301cd89e15af23acd0d50aa06a1c5d6001. * Enable PlaidML. Co-authored-by:
aslepko <44713115+aslepko@users.noreply.github.com>
-
Nagy Mostafa authored
* WIP * WIP * Refactored existing convolution * Add Channel and num of filters bounds parameters to helper * Works on unit-tests. v1 op gets converted and breaks * Fixed group conv with groups in filters shape. Tests pass * style * add LIT tests * Switch outer loop to affine loop * re-org code * PR fixes * Revert ops.td * PR fixes
-
- 16 Jan, 2020 3 commits
-
-
Sang Ik Lee authored
* Remove halide. * Remove stale code. * Put back incorrectly removed code.
-
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:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Ewa Tusień authored
* Changes version from v0 to default for Min and Max ops. * Added broadcast option in variadic function. * Added tests. * Added test for opset8. * Undo changes for Mean op. Co-authored-by:
Tomasz Dołbniak <tomasz.dolbniak@intel.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 14 Jan, 2020 3 commits
-
-
Robert Kimball authored
This reverts commit 1e58565a.
-
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:
Katarzyna Mitrus <katarzyna.mitrus@intel.com>
-
Nagy Mostafa authored
* AliasMap WIP * Added liveness info * WIP * WIP: Tests * WIP: LIT tests * Added knobs for mem optimization pass. More LIT tests * Revert affine_lowerer change * More elaborate comment * Minor fixes * style-apply * Rename liveness * Switch to Analysis framework * Fix optimization conditions * Remove LIT test * style * Switch to equivalence relationship impl of non-alias relationship * refined comment * Switch non-alias to equivalence relationship * Fix bad merge * Adding tests. WIP * Added buffer size tracking and unit-tests * Added LIT and unit-tests * Turn optimization ON * style * fix unit-tests * Fix useCount * Fix copyright and typo * Refine few comments, remove new lines * style fix Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
- 13 Jan, 2020 1 commit
-
-
Scott Cyphers authored
* Restore constant folding for DynReshape until users are converted to v1 Reshape * Disbale test when no serialization Co-authored-by:
baojun <32073718+baojun-nervana@users.noreply.github.com>
-
- 11 Jan, 2020 3 commits
-
-
Mateusz Bencer authored
* Removed LogSoftmax FusedOp, changed onnx to produce v1 * Code review remakrs introduced * fix after merge from master Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Mateusz Bencer authored
* Added round op * Add CPU support, unit tests * Disable UT for PlaidML * Update year Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
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 4 commits
-
-
Robert Kimball authored
* Add serializer/deserializer check to interpreter * Fix TopK * Fix GRUCell * Fix RNNCell. Does anybody test their own code? Apparently not. * Fix LSTMCell * Fix MVN * Fix Select v1 * Fix GroupConvolution * Fix ScalarConstantLike * General cleanup * Revert "General cleanup" This reverts commit d765d2c2451cf5d3c9a41c4d7d672c278783b0a2. * Fix op_version_tbl.hpp * More cleanup * Fix LSTMSequence * revert * Disable INTERPRETER serialize test by default Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
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>
-
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>
-