- 17 Mar, 2020 1 commit
-
-
Michał Karzyński authored
* Use v1::ReduceMean in ONNX ReduceMean * Add support for keep_dims * Replace binds with lambdas Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
-
- 16 Mar, 2020 1 commit
-
-
Mateusz Bencer authored
* Split api to onnx_utils, headers refactor * Improved ONNX importer API doc * styles applied * Code review remarks introduced * remarks introduced, style applied * Code review remarks introduced * namespaces description added * Code review remarks introduced * styles applied * Fixed onnx_utils doc and margin alignment * code review remarks introduced Co-authored-by: Michał Karzyński <postrational@users.noreply.github.com>
-
- 10 Mar, 2020 1 commit
-
-
Wenzhe Xue authored
* remove operator size_t in dimension * use get_length() * transform uint64_t to size_t for func to_shape() * more replacement of get_length * more replacement of get_length in test * make style-apply * change in onnx * more change onnx test * fix build * add size_t back to dldt test will do another PR after dldt update Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com> Co-authored-by: Robert Kimball <robert.kimball@intel.com>
-
- 28 Feb, 2020 1 commit
-
-
Katarzyna Mitrus authored
* get_data boolean support * compare_values for boolean char * Register comparator boolean * Bool type model prototxt * Test debug * Test debug cleaning * Pass output test * Style apply * Test update * Exclude LogicalAnd test on GPU * Make ng constan for bool * Style apply * Copy data for bool * Tests update * Style apply * GPU manifest update * Test bool constant op * Store bool as char vector * Comment update Co-authored-by: Michał Karzyński <postrational@users.noreply.github.com> Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
-
- 27 Feb, 2020 2 commits
-
-
Mateusz Bencer authored
[SPEC][ONNX] Handle negative axis for TopK:v1, add dynamic shape support for ONNX Arg Min/Max ops (#4291) * First version * Added support to no_keep_dims * Excluded tests for PlaidML * Code review remarks introduced * Reduced TopK axis restrictions * Added assert to TopK get_axis * Added missing EOF * Style applied * Code review suggestions introduced * Disable tests for GPU * Code review remarks introduced Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
-
Michał Karzyński authored
* Disable adding ONNX tags if Provenance disabled globally * Improve Provenance tests * Change where get_provenance_enabled is checked. * Review comments Co-authored-by: Robert Kimball <robert.kimball@intel.com>
-
- 26 Feb, 2020 1 commit
-
-
Mateusz Bencer authored
* [ONNX] Add new ConstatntOfShape operator * Fix a bug in op implementation * Modify downgrade pass to support broadcast scalars * Style-fix * Use at instead of [] * Use onnx helper instead of ngraph builder * Add some UT * Style fix * Limit range of DynBroadcast in downgrade pass * Move tests to better location * Rewrite tests to test_case * Add check if arg_pshape is static * Added unit tests * finished impl, added tests * Added missing EOF * Make tests fully dynamic * disabled tests for gpu * Changed file names * styles applied * code review remarks introduced Co-authored-by: Tomasz Socha <tomasz.socha@intel.com> Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
-
- 24 Feb, 2020 2 commits
-
-
Michał Karzyński authored
* Add friendly names to nGraph ONNX nodes generated * Review comments Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
-
Tomasz Socha authored
* [ONNX] Add new ConstatntOfShape operator * Fix a bug in op implementation * Modify downgrade pass to support broadcast scalars * Style-fix * Use at instead of [] * Use onnx helper instead of ngraph builder * Add some UT * Style fix * Limit range of DynBroadcast in downgrade pass * Move tests to better location * Rewrite tests to test_case * Add check if arg_pshape is static * Style * Trigger CI Co-authored-by: Michał Karzyński <postrational@users.noreply.github.com> Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
-
- 20 Feb, 2020 2 commits
-
-
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 * first verion of AvgPool code review remarks introduced Changed tests to use default BackendMode value * first version of maxpool * Changed PoolingFactory to support dynamic shapes * fixed Pad op * Added Uts to global ops * Code review remarks introduced * code review remarks introduced * Code refactor * Code review remarks introduced Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com> Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com>
-
Ewa Tusień authored
* Added Round op to onnx importer. * Added a new line. * Excluded test from plaidml. * Code formatting. * Added header. * Unabled test on gpu. Co-authored-by: Chris Sullivan <chris.sullivan@intel.com> Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com>
-
- 16 Feb, 2020 1 commit
-
-
Tomasz Dołbniak authored
* Constify the onnx importer conv * Extract and fix the groups attribute validation for Conv * Check if the convolution's data input rank is static * Validate the groups attribute against channels and filters * Validate the conv operation in a separate function * Dynamically broadcast the conv bias if needed * Import a test model with dynamic batch conv op * Run a conv test with dynamic batch * Cleanup of conv bias handling code * Use a proper Broadcast constructor for bias in onnx conv * Handle dynamic ReduceMean with statically defined rank * Use the target shape rank to construct the default output shape for Broadcast * Handle ONNX Squeeze with dynamic input and static rank * Handle ONNX Shape with dynamic input and static rank * Handle the dynamic target shape in ONNX Reshape * Fix for the ONNX Shape input validation * Handle ONNX Softmax with dynamic input and static rank * Fix the failing Broadcast type prop test * Code formatting * Dont broadcast bias before adding it to the conv node * Drop the conv node validation and rely on the core op implementation checks * Code review feedback * Revert the Broadcast op changes * More code review feedback * Dynamic conv test using ng test case * Obsolete headers removal * Code formatting * Variable names refactor * Disable model_conv_with_dynamic_batch test on GPU * Code formatting Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com>
-
- 14 Feb, 2020 1 commit
-
-
Katarzyna Mitrus authored
* Use test case in quant tests * Reshape test refactor * Reshape tests refactor * Test case refactor onnx_import * onnx import_in test case refactor * onnx reshape test case refactor * onnx convpool test case refactor * onnx import in test case refactor * onnx reshape test case refactor * Style apply * Style apply * Removed commented code * Infinity check softplus test refactor Co-authored-by: Robert Kimball <robert.kimball@intel.com>
-
- 12 Feb, 2020 2 commits
-
-
Katarzyna Mitrus authored
* Asinh dynamic shape support prototype * Asinh static shape test * Asinh dynamic shapes test * Unified asinh implementation for static and dynamic shapes * Atanh dynamic shapes support * Style apply * Acosh dynamic shape support * Tests update * Style apply * Update PlaidML manifest * Use default tolerance bits * Style apply * Def tolerance bits for dynamic tests * Rename dim_param * Update acosh.prototxt * Update acosh_dyn_shape.prototxt Co-authored-by: Robert Kimball <robert.kimball@intel.com>
-
aslepko authored
* Update onnx_import_provenance.in.cpp * Update onnx_import_dyn_shapes.in.cpp * Update constant_folding_one_hot.cpp * Update constant.hpp * Update constant.hpp * Update constant_folding_one_hot.cpp * Update onnx_import_provenance.in.cpp * Update onnx_import_dyn_shapes.in.cpp Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
-
- 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.
-
- 31 Jan, 2020 1 commit
-
-
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>
-
- 30 Jan, 2020 1 commit
-
-
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>
-
- 29 Jan, 2020 1 commit
-
-
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>
-
- 23 Jan, 2020 1 commit
-
-
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>
-
- 16 Jan, 2020 1 commit
-
-
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 1 commit
-
-
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>
-
- 10 Jan, 2020 3 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>
-
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>
-
- 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
-
- 20 Aug, 2019 2 commits
-
-
Adam Procter authored
-
Robert Kimball authored
* Normalize BatchNorm test names * unit test renamed so manifest must be updated
-