1. 15 Oct, 2019 1 commit
  2. 11 Oct, 2019 4 commits
    • Michał Karzyński's avatar
      Unify test names for opset transformation passes (#3755) · d0dd4d6c
      Michał Karzyński authored
      * Unify test names for opset transformation passes
      
      * Unify downgrade test names
      d0dd4d6c
    • Ewa Tusień's avatar
      [ONNX] Add Expand op to ONNX importer. (#3692) · b26a53e2
      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.
      b26a53e2
    • baojun's avatar
      Make softmax axes dynamic (#3601) · 47a727a6
      baojun authored
      * make axes dynamic
      
      * add ut
      
      * update softmax deserializer
      
      * check axes to be constant
      
      * remove duplicates
      47a727a6
    • Mateusz Bencer's avatar
      [SPEC] Implement ReduceSum:v1 and ReduceProd:v1 downgrade pass (#3676) · 5a6cf4d0
      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: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * Fix names
      
      * Apply suggestions from code review
      
      Removed redundant include, renamed tests
      Co-Authored-By: 's avatarTomasz 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: 's avatarMichał Karzyński <postrational@users.noreply.github.com>
      
      * Disable not supported PlaidML tests
      
      * Added missing EOF
      5a6cf4d0
  3. 10 Oct, 2019 3 commits
  4. 09 Oct, 2019 1 commit
  5. 08 Oct, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/lastwarns (#3640) (#3673) · b7d8c78b
      Scott Cyphers authored
      * Cyphers/lastwarns (#3640)
      
      * Build changes for -Wall
      
      * Use properties
      
      * Remove no-zero-as-null-pointer-constant
      
      * add ##__VAR_ARGS__ workaround
      
      * enable gnu-zero-variadic-macro-arguments warning
      
      * fix gnu-zero-variadic-macro-arguments
      
      * use PrintToDummyParamName
      
      * remove ##__VA_ARGS__ workaround
      
      * fix ##__VA_ARGS__ and enable gnu-zero-variadic-macro-arguments
      
      * handle windows build
      
      * use alternative fix to support VS compiler
      
      * fix merge issue
      
      * remove variadic macros from kernel_selectors
      
      * replace remaining ##__VA_ARGS__
      
      * fix missing braces
      
      * Remove some clang warnings
      
      * Warnings cleanup
      Unverified
      b7d8c78b
  6. 07 Oct, 2019 2 commits
  7. 05 Oct, 2019 1 commit
  8. 04 Oct, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/26mig [MLIR] (#3716) · 7cba0d0e
      Scott Cyphers authored
      * Hotfix for negative axes in unsqueeze op (#3705)
      
      * Hotfix for negative axes in unsqueeze op
      
      * Review fix I
      
      * Enable Gather with negative indices. (#3701)
      
      * Enable Gather with negative indices.
      
      * Address PR feedback.
      
      * Remove GOE from Gather unit tests.
      
      * merge error
      
      * Disable test for MLIR
      Unverified
      7cba0d0e
  9. 01 Oct, 2019 4 commits
  10. 30 Sep, 2019 4 commits
    • Diego Caballero's avatar
      [MLIR] Improve gather op lowering (#3667) · 3aa4db1d
      Diego Caballero authored
      * [MLIR] Add support for parsing nGraph tensor type
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * [MLIR] Enable nGraph dialect in ngraph-opt
      
      This PR registers nGraph dialect in ngraph-opt and prepares
      nGraph lowering pass for LIT testing, fixing all the related issues.
      Among other things, lowering pass has to be turned into a function pass,
      dead argument in constructor was removed and `convert-ngraph-to-affine`
      flag was added.
      
      * Fix issue with function name and multiple functions
      
      * Extend module_function.mlir lit test
      
      * [MLIR] Add support for parsing nGraph element types
      
      It introduces initial support for parsing nGraph signed/unsigned
      integer and floating point data types.
      
      * [MLIR] Improve gather op lowering
      
      This PR interchanges indices and param loops in gather lowering so
      that a better memory access patter is generated. Fusion of gather
      with other ops is also observed with this change.
      3aa4db1d
    • Mateusz Bencer's avatar
      [Spec] Implement Reshape:v1 (#3633) · 8ccddb19
      Mateusz Bencer authored
      8ccddb19
    • Tomasz Socha's avatar
      [SPEC] Add v1:Convolution operator (#3636) · 1ce31a49
      Tomasz Socha authored
      1ce31a49
    • Tomasz Dołbniak's avatar
      ac4676ff
  11. 29 Sep, 2019 1 commit
    • Sang Ik Lee's avatar
      LayerNorm (#3678) · 385770d8
      Sang Ik Lee authored
      * LayerNorm (#3630)
      
      * Constructors.
      
      Type prop.
      
      Decompose LayerNorm.
      
      Add serialize.
      
      * Add dummy test case.
      
      * Add dummy type prop test.
      
      * Fix some build errors.
      
      * Remove build errors.
      
      * Update decompose for bprop.
      
      * Change begin_norm_axis default value to 1.
      
      * Style.
      
      * Reorder class members.
      
      * Add actual type prop tests.
      
      * Add fprop test.
      
      * Working on bprop test.
      
      * Bprop tests.
      
      * Allow flattened scale and bias.
      
      * Add support for flattened scale and bias.
      
      * Fix incorrect type_name.
      
      * PlaidML: Decompose fused_op LayerNorm
      
      * Update Backprop constructors.
      
      * PlaidML: Add missing header file.
      
      * Remove doc about removed param.
      
      * Fix type prop tests.
      
      * PlaidML: Disable unit test.
      
      * Fix stats flattening axes bug.
      
      * Upgrade description to type_info.
      385770d8
  12. 28 Sep, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Enable nGraph dialect in ngraph-opt (#3657) · 9db8f874
      Diego Caballero authored
      * [MLIR] Add support for parsing nGraph tensor type
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * [MLIR] Enable nGraph dialect in ngraph-opt
      
      This PR registers nGraph dialect in ngraph-opt and prepares
      nGraph lowering pass for LIT testing, fixing all the related issues.
      Among other things, lowering pass has to be turned into a function pass,
      dead argument in constructor was removed and `convert-ngraph-to-affine`
      flag was added.
      
      * Fix issue with function name and multiple functions
      
      * Extend module_function.mlir lit test
      
      * Improve module_function.mlir test
      
      Remove ngraph to affine dialect conversion since we just need to verify
      that we can parse and print modules and functions.
      Add verification for parsing the printed code.
      
      * [MLIR] Add support for parsing nGraph element types (#3665)
      
      * [MLIR] Add support for parsing nGraph element types
      
      It introduces initial support for parsing nGraph signed/unsigned
      integer and floating point data types.
      
      * Improve LIT tests
      
      Test parsing and printing of types separately from lowering to affine
      since these tests will evolve differently, particularly for tensor
      types.
      
      * Missed file
      
      I left this file behind in the previous commit
      9db8f874
  13. 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
  14. 24 Sep, 2019 1 commit
    • 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.
      Unverified
      c3eef5ab
  15. 23 Sep, 2019 1 commit
    • Nishant Patel's avatar
      Simple bf16 test case for CPU backend (#3598) · 7ea34fc2
      Nishant Patel authored
      * test bfloat16 with CPU maxpool
      
      * Move test to cpu_test
      
      * convert result from bfloat16 to float
      
      * Modify result op to support bfloat16
      
      * Correct comment
      
      * Add a simple convolution test case
      
      * initialize floats with float literals
      
      * Guard bf16 tests with MKLDNN_VERSION_MAJOR >= 1
      7ea34fc2
  16. 21 Sep, 2019 1 commit
  17. 20 Sep, 2019 3 commits
  18. 19 Sep, 2019 4 commits
  19. 18 Sep, 2019 1 commit
    • 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