1. 27 Sep, 2019 5 commits
    • Diego Caballero's avatar
      [MLIR] Change LIT execution dir to build dir (#3674) · 0f0086d0
      Diego Caballero authored
      LIT creates "Output" folders for each directory with LIT tests.
      Before this change, LIT tests were executed in source directory and
      "Output" folders had to be removed manually. Git also showed them as
      folders to be potentially tracked. This PR changes LIT execution to
      build directory to avoid this problem. Similar approach is used in MLIR.
      0f0086d0
    • Diego Caballero's avatar
    • Ivan Tikhonov's avatar
      New DynSlice (Strided Slice) realization (#3662) · 80022ea1
      Ivan Tikhonov authored
      * Strided slice
      
      * Strided slice
      
      * default value for strides
      
      * Added new strided slice test, enabled old tests, refactoring
      
      * Refactoring
      
      * Autogenerated file: dyn_replace_slice tests
      
      * Renaming
      
      * Fix codestyle
      
      * Fix build on MacOS
      
      * Fix codestyle
      
      * Add several tests in unit_test.manifest to skip it on PlaidML
      
      * Disable all dyn_replace_slice tests on PlaidML
      80022ea1
    • Tomasz Socha's avatar
      [Spec] Add v1::AvgPool and v1::MaxPool (#3591) · 04f212b7
      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
      04f212b7
    • baojun's avatar
      Add PDPD style autobroadcast (#3645) · 640295cf
      baojun authored
      * add pdpd autob spec and ut
      
      * add pdpd autob to pass check
      
      * add dummy dynamic ut
      
      * add dynamic test case
      
      * use int64_t
      
      * pass dynamic ut
      
      * add pdpd style kernel
      
      * handle pdpd validation
      
      * add dummy pdpd style bcast
      
      * implement pdpd style bcast
      
      * add validation
      
      * use output arg
      
      * use ngraph_check
      Co-Authored-By: 's avatarAdam Procter <adam.m.procter@intel.com>
      
      * enable error print
      
      * accuracy mismatch in plaidml
      
      * fix ut on windows
      
      * make separated tests
      
      * fix trailing one case
      
      * fix warning
      640295cf
  2. 25 Sep, 2019 2 commits
  3. 24 Sep, 2019 4 commits
    • Sang Ik Lee's avatar
      Allow CPU build without TBB. (#2160) · c3eef5ab
      Sang Ik Lee authored
      * Allow TBB to be excluded from CPU build.
      
      * Change some CMake scope.
      
      * m_use_tbb can be removed if TBB is not enabled.
      
      * Revert some CMake linkage scope as it breaks unit test.
      
      * Migrate changes from #3652.
      c3eef5ab
    • Diego Caballero's avatar
      [MLIR] Add support for parsing nGraph tensor type (#3654) · e2bddf19
      Diego Caballero authored
      * [MLIR] Add support for parsing nGraph tensor type
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * Clang format
      
      * Fix return in parser
      e2bddf19
    • Diego Caballero's avatar
      [MLIR] Add `ngraph` prefix to MLIR flags (#3625) · 1c9a1996
      Diego Caballero authored
      * [MLIR] Add `ngraph` prefix to MLIR flags
      
      Some flags collision with some MLIR flags.
      
      * [MLIR] Add support for nGraph tensor type in parser
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * Rename ngraph print flag
      
      * Rename ngraph dump mlir flags
      
      * Clang format
      
      * Revert "[MLIR] Add support for nGraph tensor type in parser"
      
      This reverts commit ae371d6a5c8ea590322d5d3b9ba110159d4bf5fa.
      1c9a1996
    • gaurides's avatar
      Update MKLDNN to v0.21 (#3641) · c42ccb33
      gaurides authored
      * Update MKLDNN to v0.21
      
      * Changed for MKLML asset for WIN32
      c42ccb33
  4. 23 Sep, 2019 2 commits
  5. 21 Sep, 2019 2 commits
    • Ewa Tusień's avatar
      [ONNX] Added support for negative axes. (#3557) · d4eb462a
      Ewa Tusień authored
      * [ONNX] Added function for converting negative axes.
      
      * [ONNX] Bugfix
      
      * [ONNX] Code formatting
      
      * [ONNX] Changed name of function.
      
      * Added validation for axis/axes.
      
      * Changed abs to llabs for int64 argument.
      
      * Changed validation function.
      
      * [ONNX] Added function for converting negative axes.
      
      * [ONNX] Bugfix
      
      * [ONNX] Code formatting
      
      * [ONNX] Changed name of function.
      
      * Added validation for axis/axes.
      
      * Changed abs to llabs for int64 argument.
      
      * Changed validation function.
      
      * Changed validation function.
      
      * Changed validation function
      
      * Changed rank size in onehot
      
      * Apply suggestions from code review
      Co-Authored-By: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * Code refactoring.
      
      * Update flatten.cpp
      d4eb462a
    • Scott Cyphers's avatar
      Convert remaining dynamic_pointer_casts for ops (#3642) · 5e8efd54
      Scott Cyphers authored
      * Convert remaining dynamic_pointer_casts for ops
      Make is_type a function instead of a method
      Direct implementation of `is_parameter`
      
      * Add exports
      
      * Missing includes
      
      * headers
      
      * missing export
      5e8efd54
  6. 20 Sep, 2019 5 commits
    • Nishant Patel's avatar
      Add a compile time flag to support all ET's in cpu backend (#3350) · e2f55f83
      Nishant Patel authored
      * Refactor cpu/builder/dot.cpp
      
      * Support only float and i64
      
      * Refactor softmax and reduction to support only float and i64
      
      * Add a new file for customized kernels
      
      * Add compile time flag NGRAPH_CPU_LARGE_BINARY
      
      * Add compilation flag checks in reduction.hpp
      
      * change dot to only support float and i64
      
      * Revert "Refactor cpu/builder/dot.cpp"
      
      This reverts commit 0d53f27fde64872aff096f12ee9b79e5db7a7fee.
      
      * style
      
      * Consolidate macros
      
      * Refactor slice ops, reshape & pad
      
      * cleanup
      
      * Gather op
      
      * Concat, Convert and broadcast op
      
      * Tile and reverse_sequence op
      
      * Scatter_add op
      
      * ET other then fp and i64 go through ref
      
      * tests passing
      
      * Consolidate macros
      
      * Address feedback
      
      * Fall back to reference for pad and reshape
      
      * add scatter_add reference fallback
      
      * Undo concat change
      
      * Undo tile and update slice as they dont have reference implementation
      
      * Remove update slice condition
      
      * Gather op type check
      
      * change routine name
      
      * Build-time configurability for datatypes that requires optimized kernels on CPU backend (#3592)
      
      * Inline function
      
      * Change condition
      
      * VS compiler workaround
      
      * Add comment for VS workaround
      
      * More fixes for VS
      
      * More wrapping of nested macros for VS
      
      * More wrapper
      
      * variable name change and more wrapping of macros
      
      * test
      
      * Style and refactor
      
      * Wrap macros
      
      * Add a seperate macro for SELECT_KERNEL
      
      * Change SELECT_KERNEL_3ARGS
      
      * Unwrap couple of macros
      
      * Syntax
      
      * Add a new macro for fixed number of args for VS compiler
      
      * Comment/Fake ectx
      
      * Add detailed comment for the workaround for VS compiler
      
      * Comment all unused ectx variables
      
      * Templated calls to reference kernels
      
      * const args
      
      * Change softmax ref definition to take double
      
      * Hardcode softmax kernel to take double ..testing
      
      * Fix softmax
      e2f55f83
    • Leona C's avatar
      Latest illustrations of nG components and features (#3617) · b39d0aab
      Leona C authored
      * Latest illustrations of nG components and features
      
      * Update ABOUT.md
      
      * Update full stack diagram
      
      * fix typo
      
      * Updating as per discussion
      b39d0aab
    • Tomasz Dołbniak's avatar
      c1abb9a0
    • Mateusz Bencer's avatar
    • Mateusz Bencer's avatar
      [Spec] Implement Gather:v1 (#3590) · dfb1476a
      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
      dfb1476a
  7. 19 Sep, 2019 5 commits
    • Adam Procter's avatar
      Add RandomUniform op (#3611) · ab440246
      Adam Procter authored
      * Add RandomUniform op
      
      * Missing files
      
      * Make CPU compile again (RandomUniform tests still don't pass)
      
      * Bop users of existing RNGState class and reorder some comment junk
      
      * Try to bop RNGState in gcpu
      
      * Add RandomUniform to CPU manifest
      
      * Add RandomUniform to PlaidML manifest
      
      * Add .rst for random_uniform
      
      * Clean up junk in the .rst
      
      * Change UniformRNGState to always use double internally
      
      * Change weird test failure message
      
      * Compilation issues
      ab440246
    • Diego Caballero's avatar
      [MLIR] Add flag to dump jitted MLIR to object file (#3607) · f5c89181
      Diego Caballero authored
      * [MLIR] Add flag to dump jitted MLIR to object file
      
      This PR adds a flag to be able to dump the jitted MLIR code to an object
      file and another flag to be able to specify the object file name.
      
      * Add curly braces
      
      * Fix wrong merge
      f5c89181
    • Scott Cyphers's avatar
      Mmahbubu/provenance fix grpah replace (#3624) (#3639) · f40f3981
      Scott Cyphers authored
      * Fixes bug in provenenace for subgraph replacement
      
      * Updates unit tests for the provenance algorithm fix
      
      * Changes provnance set to ordered set for better consistency in iteration order.
      f40f3981
    • Robert Kimball's avatar
      Remove debug graphviz plots (#3623) · 4e175405
      Robert Kimball authored
      4e175405
    • Scott Cyphers's avatar
      Re-enable sign-compare and double-promotion warnings (#3629) · 6c89a91f
      Scott Cyphers authored
      * Fix unsigned comparison and implicit double conversion
      
      * Eliminate sign/unsigned compare warnings, implicit double conversion
      
      * Missed type
      
      * Neww int type
      
      * omp compromise
      
      * style
      6c89a91f
  8. 18 Sep, 2019 5 commits
    • Diego Caballero's avatar
      d1a9b8b3
    • Mateusz Bencer's avatar
      [Spec] Implement Pad:v1 (#3574) · 81b492d4
      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
      81b492d4
    • Mateusz Bencer's avatar
      [SPEC] Adjust Concat to specification (#3582) · 779a9300
      Mateusz Bencer authored
      * Changed name of concat axis
      
      * Clang styles applied
      
      * Revert "Clang styles applied"
      
      This reverts commit 4c1d3f4436765ce9eafa00140365d5d3e358eab1.
      
      * Revert "Changed name of concat axis"
      
      This reverts commit cdfe6638777509f21b199ce78fc2fe28cec15d45.
      
      * Introduced alias methods
      
      * Updated changes.md
      779a9300
    • Tomasz Dołbniak's avatar
      [ONNX] Handling of unknown domains in ONNX models (#3631) · bccb1ec8
      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
      bccb1ec8
    • Nagy Mostafa's avatar
      [MLIR] Add padding support to Convolution (#3586) · 43a1bf1c
      Nagy Mostafa authored
      * Enable Padding
      
      * Small fix to match MLIR API change
      
      * WIP
      
      * Subtract pad below from virtual img index
      
      * Fixed integer set inequalities
      
      * style-apply
      
      * remove unneeded padAbove values
      
      * Remove dump call
      
      * PR feedback
      
      * style apply
      43a1bf1c
  9. 17 Sep, 2019 4 commits
  10. 16 Sep, 2019 2 commits
  11. 14 Sep, 2019 2 commits
  12. 13 Sep, 2019 1 commit
  13. 12 Sep, 2019 1 commit