1. 17 Mar, 2020 1 commit
  2. 16 Mar, 2020 1 commit
  3. 10 Mar, 2020 1 commit
  4. 28 Feb, 2020 1 commit
  5. 27 Feb, 2020 2 commits
  6. 26 Feb, 2020 1 commit
    • Mateusz Bencer's avatar
      [ONNX] Add dynamic shapes support for expand op (#4379) · c4bcabac
      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: 's avatarTomasz Socha <tomasz.socha@intel.com>
      Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      c4bcabac
  7. 24 Feb, 2020 2 commits
  8. 20 Feb, 2020 2 commits
    • Mateusz Bencer's avatar
      [ONNX] Add dynamic shapes support for pooling ops (#4285) · fdd8db66
      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: 's avatarTomasz Dołbniak <tomasz.dolbniak@intel.com>
      Co-authored-by: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
      fdd8db66
    • Ewa Tusień's avatar
      Add Round op to ONNX importer (#4303) · d605e7fa
      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: 's avatarChris Sullivan <chris.sullivan@intel.com>
      Co-authored-by: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
      d605e7fa
  9. 16 Feb, 2020 1 commit
    • Tomasz Dołbniak's avatar
      POC enabling Resnet50 with dynamic batch dimension (#4298) · b2da4cee
      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: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
      b2da4cee
  10. 14 Feb, 2020 1 commit
    • Katarzyna Mitrus's avatar
      [ONNX] ONNX importer tests refactor (#4310) · 1f69da4e
      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: 's avatarRobert Kimball <robert.kimball@intel.com>
      1f69da4e
  11. 12 Feb, 2020 2 commits
    • Katarzyna Mitrus's avatar
      [ONNX] Inverse hyperbolic functions - dynamic shape support (#4301) · 3042c8cc
      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: 's avatarRobert Kimball <robert.kimball@intel.com>
      3042c8cc
    • aslepko's avatar
      Aslepko/test (#4307) · 6a369747
      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: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      6a369747
  12. 07 Feb, 2020 1 commit
    • Adam Osewski's avatar
      Use GroupConvolutionBackpropData v1 in ONNX ConvTranspose. (#4158) · d80c8e42
      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.
      d80c8e42
  13. 31 Jan, 2020 1 commit
    • Mateusz Bencer's avatar
      Extend NgraphTestCase to support dynamic backends (#4234) · e37b386e
      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: 's avatarTomasz Dołbniak <tomasz.dolbniak@intel.com>
      Co-authored-by: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
      e37b386e
  14. 30 Jan, 2020 1 commit
  15. 29 Jan, 2020 1 commit
    • Tomasz Dołbniak's avatar
      [ONNX] Initial support for dynamic shapes (#4197) · 4c322687
      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: 's avatarMichał Karzyński <postrational@users.noreply.github.com>
      
      * Remove an obsolete space in provenance tests
      Co-authored-by: 's avatarMichał Karzyński <postrational@users.noreply.github.com>
      Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      4c322687
  16. 23 Jan, 2020 1 commit
  17. 16 Jan, 2020 1 commit
  18. 14 Jan, 2020 1 commit
    • Tomasz Dołbniak's avatar
      [ONNX] Extended support for provenance tags (#4154) · 9bfbd3c6
      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: 's avatarKatarzyna Mitrus <katarzyna.mitrus@intel.com>
      9bfbd3c6
  19. 10 Jan, 2020 3 commits
  20. 09 Jan, 2020 1 commit
  21. 01 Jan, 2020 1 commit
  22. 17 Dec, 2019 1 commit
    • Ewa Tusień's avatar
      Add ScatterND FusedOp (#4018) · 46ff13c7
      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.
      46ff13c7
  23. 13 Dec, 2019 1 commit
  24. 07 Dec, 2019 1 commit
  25. 27 Nov, 2019 2 commits
    • Katarzyna Mitrus's avatar
      [ONNX] Add CumSum to ONNX importer (#3918) · 3ee833b7
      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
      3ee833b7
    • Mateusz Bencer's avatar
      [SPEC][FusedOp] Add Mod operator (#3908) · 9178c15a
      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
      9178c15a
  26. 25 Nov, 2019 1 commit
  27. 17 Oct, 2019 1 commit
    • Michał Karzyński's avatar
      [ONNX] Add support for ONNX 1.6 TopK (#3771) · 7617d385
      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.
      7617d385
  28. 15 Oct, 2019 1 commit
  29. 11 Oct, 2019 1 commit
  30. 20 Sep, 2019 1 commit
  31. 18 Sep, 2019 1 commit
  32. 20 Aug, 2019 2 commits