1. 29 Aug, 2019 1 commit
    • Nagy Mostafa's avatar
      [MLIR] Fixes for cpu_fusion.validate_fuse_gru_inputs (#3511) · ef58667f
      Nagy Mostafa authored
      * WIP
      
      * Fix incorrect CK output adjustment
      
      * Bug fix and enroce sanity check
      
      * Change cycle search depth, and fix sanity check
      
      * cpu_fusion.validate_fuse_gru_inputs passes.
      
      * Fix as_single_output to be able to always create a GOE
      
      * minor fix. style-apply
      
      * Clean up debug msgs
      
      * Switch to backward cycle check
      
      * Enable failing test
      
      * PR fixes
      
      * Address feedback: Add fwd cycle checks. Make cycle checking depth configurable
      ef58667f
  2. 28 Aug, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Add config files for LIT testing (#3523) · d8fbe52b
      Diego Caballero authored
      * [MLIR] Add config files for LIT
      
      LIT is the LLVM testing tool that is used in LLVM and MLIR. It's
      necessary to enable all the MLIR testing in nGraph. This will provide
      a complementary finer grain level of testing than the one currently done
      with gtest. LIT will allow testing each MLIR-based nGraph transformation
      without having to run the whole nGraph pipeline. For example, we will be
      able to write an nGraph dialect input, invoke an single MLIR transformation
      on it and check that the output is the expected.
      
      This PR adds the basic configuration files to enable LIT tool
      in nGraph for MLIR Compiler. `affine_lowering/lit_test.mlir` is a
      dummy test to exercise the new testing feature. Lit testing will be
      enabled in CMAKE in a subsequent PR.
      
      * Address feedback
      d8fbe52b
  3. 26 Aug, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Disable three more tests with MLIR enabled. (#3496) · 1683e200
      Diego Caballero authored
      * [MLIR] Bump MLIR repo 8/20/2019
      
      MLIR_
      commit 0cdb20a6add19bc96c20dad28589a1e54e4d8469
      Author: Lei Zhang <antiagainst@google.com>
      Date:   Tue Aug 20 13:33:41 2019 -0700
      
          Add spv.specConstant and spv._reference_of
      
      LLVM:
      commit 3b9a27b6908040881dad394022f8c472c15c0784
      Author: Simon Pilgrim <llvm-dev@redking.me.uk>
      Date:   Tue Aug 20 17:54:37 2019 +0000
      
          Fix typo in comment. NFCI.
      
      * [MLIR] Disable three more tests with MLIR enabled.
      
      This PR disables validate_fuse_gru_inputs, reshape_layout_optimizations4
      and reshape_layout_optimizations5:
        1. trivial_in_place_relu_fail: It checks tensors pool offset. There is
           no memory pool in MLIR atm.
        2. validate_fuse_gru_inputs: It creates an infinite cycle in
           MLIR subgraph extraction pass (under investigation).
        3. reshape_layout_optimizations4/5: They fail due to CompiledKernel
           being not expected by CPULayout pass.
      
      * Disable cpu_quant_fusion.qconcat
      1683e200
  4. 23 Aug, 2019 1 commit
  5. 21 Aug, 2019 2 commits
  6. 20 Aug, 2019 5 commits
    • Nishant Patel's avatar
      Add QuantizedDot to ngraph core (#3235) · 79041d19
      Nishant Patel authored
      * First pass, remove QDot as experimental op, add it as core op, test case failing
      
      * Change QuantizedMatmul API
      
      * Tests for QuantizedDot passing, cleanup required
      
      * Move test cases to backend_test.in.cpp
      
      * Change reference dot API to take scale and zero point
      
      * Onnx matmul integer tests passing
      
      * Add validate_and_infer_types()
      
      * Add more checks for QDot
      
      * Add type prop tests
      
      * Add interpreter support
      
      * Add serializer support
      
      * Disable tests in other backends
      
      * Fix test and add codegen support
      
      * Make axes optional argument
      
      * Change fusion pattern
      
      * Copyright
      
      * merge changes
      
      * more merge changes
      
      * Fix more merge conflicts
      
      * change builders to reflect new changes
      
      * cleanup
      
      * Add reduction_axes to the API
      
      * Fix onnx test cases
      
      * Remove debug comments
      
      * Fix CI
      
      * disable plaidml tests
      
      * Remove comment
      79041d19
    • Adam Procter's avatar
      1bc0a299
    • Nishant Patel's avatar
      Remove quantized pool {avg and max} (#3458) · dc0f0011
      Nishant Patel authored
      * Remove QuantizedMaxPool
      
      * Remove QuantizedAvgPool
      
      * Disable tests for plaidML
      
      * Fix CI
      
      * Add correct casting for int8 type in reference kernel
      
      * Disable tests for GPU
      dc0f0011
    • Robert Kimball's avatar
      Did a batch normalization of the BatchNorm unit test names (#3439) · 152e99d8
      Robert Kimball authored
      * Normalize BatchNorm test names
      
      * unit test renamed so manifest must be updated
      152e99d8
    • Adam Procter's avatar
      Dynamic "flatten" builder (#3448) · 97578988
      Adam Procter authored
      * Dynamic version of builder::flatten
      
      * Remove as_single_output_node (no longer needed)
      
      * Temp fix for dyn elimination
      97578988
  7. 19 Aug, 2019 3 commits
    • Mateusz Bencer's avatar
      [Spec][Fused] Adjust op Normalize (#3406) · 5ed2c588
      Mateusz Bencer authored
      * Changed name from Normalize to Normalize2
      
      * Changed name from Normalize to Normalize2 in tests
      
      * Changed name of normalize source files
      
      * Removed across spatial and channel shared params
      
      * Removed scale and introduced input axes
      
      * Support for axes input was introduced
      
      * Added possibility to choose method of bias using
      
      * Clang style applied
      
      * Code review remarks introduced
      
      * Code review remarks introduced
      
      * Added python script to generate normalize_l2 test data
      5ed2c588
    • Nagy Mostafa's avatar
    • Mateusz Bencer's avatar
      [Spec] Adjust op Proposal (#3419) · 47dc073e
      Mateusz Bencer authored
      * Changed required image_shape type from u64 to float
      
      * Proposal op was adjusted
      
      * Clang styles applied
      
      * Added missing new line
      
      * Fixed problem with narrowing conversion
      
      * Code review remarks
      
      * Removed checking types of Proposal input params
      
      * Removed unused input element type variables
      47dc073e
  8. 16 Aug, 2019 1 commit
  9. 15 Aug, 2019 7 commits
  10. 14 Aug, 2019 1 commit
    • Mateusz Bencer's avatar
      [Spec] Add axes input to LRN (#3374) · 83611106
      Mateusz Bencer authored
      * Axes input was added to LRN
      
      * Unit tests for axes shape check were added
      
      * LRN node deserialization was updated
      
      * Fixed EOF and clang style applied
      
      * Changed Constant to Parameter type in unit tests
      
      * Fixed LRN assert description
      
      * Fixed copy_with_new_args
      
      * Clang style applied
      83611106
  11. 13 Aug, 2019 1 commit
  12. 09 Aug, 2019 3 commits
  13. 08 Aug, 2019 1 commit
  14. 07 Aug, 2019 5 commits
  15. 06 Aug, 2019 1 commit
  16. 05 Aug, 2019 1 commit
    • Adam Procter's avatar
      Update reference kernels, constant folding to support auto-broadcast directly (#3382) · 31fae943
      Adam Procter authored
      * WIP
      
      * CHANGE_DYNAMIC_STATE
      
      * Implement full type prop for DynBroadcast when inputs const/static; clean up pass properties
      
      * Add a unit test for the late-constness thing
      
      * Update reference, interp, constant folding to handle autobroadcast
      
      * Document the autobroadcast helper, and fix a corner case (zero's a number too!)
      
      * Tests, and insert a check within the CPU folders for autobroadcast (it's still unsupported)
      
      * Remove unnecessary include
      
      * EXPECT_EQ -> ASSERT_EQ, for consistency
      
      * Replace assert for CPU folders with a fallback
      31fae943
  17. 02 Aug, 2019 1 commit
  18. 01 Aug, 2019 4 commits