1. 12 Jun, 2019 4 commits
    • Rob Earhart's avatar
      Update PlaidML backend for current nGraph (#3030) · 397740fe
      Rob Earhart authored
      * Rename PlaidML_Executable::save -> save_as_format
      
      * Repair regression in PlaidML tensor impl
      
      This was caused by the recent removal of the offset parameter for tensor read/write operations -- we missed a
      spot where read/write were being called for synchronization purposes.
      
      * Disable a few more PlaidML tests pending triage
      
      * Skip elision of reshape->reshape
      
      It turns out this doesn't work, because the downstream reshape's input_order axis vector is incorrect if the
      upstream reshape is removed.
      
      * Add element type to PlaidML tensor debug output
      
      * Use nGraph booleans for PlaidML boolean data
      
      We'd previously been using i8; that's been deprecated for boolean data now that we have an explicit boolean
      element type.
      
      * Set PlaidML convolution output shapes correctly
      
      We weren't transposing the output shape; we were computing the right data, but the incorrect shape metadata
      causes validation to fail.
      
      * Add a PlaidML implicit broadcast op
      
      Better nGraph shape validation was tripping up PlaidML's use of a reshape to replace explicit broadcasts with
      implicit NumPy-style broadcasts (since the reshape's output shape would be incorrect for the downstream
      elementwise operation).  Adding this implicit broadcast operation lets PlaidML tell nGraph something useful
      about the shapes, making validation pass (when it's otherwise correct).
      397740fe
    • Scott Cyphers's avatar
      GenerateMask correction (#3029) · f0552cc8
      Scott Cyphers authored
      * GenerateMask correction
      Add an attribute that controls if the seed should be set on each use
      Convert to new virtual method for description implementatin
      
      * Support for switching to dynamic attributes.
      
      * GenerateMask changes in CPU backend (#3042)
      
      * Add CPU builder and kernel for new GenerateMask API
      
      * Remove dead code
      
      * Fix unit-test, PR feedback, file permissions
      
      * Disable new test for non-supporting backends
      
      * Fix CI error
      
      * Codegen support
      
      * Style check
      
      * Fix CI error
      f0552cc8
    • Michał Karzyński's avatar
      [ONNX] Add MatMulInteger op (#3011) · e51c5824
      Michał Karzyński authored
      * Unit tests for MatMulInteger
      
      * Add ONNX MatMulInteger op
      
      * Add QuantizedLinearMatmulInteger builder
      
      * Additional unit test
      
      * Exclude tests on nVidia GPU backend
      
      * Add 4D test case
      
      * Enable >2D MatMulInteger
      
      * Refactoring to MatMulFactory - step 1
      
      * Refactoring to MatMulFactory - step 2
      
      * Remove `using namespace ngraph` to make `Node` unambiguous.
      
      * Disable quantized ops tests on GPU backend
      
      * Remove unused `includes`
      
      * Remove redundant dynamic_pointer_cast
      
      * Remove redundant `move`
      
      * Add const correctness
      
      * Code review comments
      
      * Style apply
      
      * Add documentation
      
      * Use more complex shapes in tests
      e51c5824
    • Pruthvi's avatar
  2. 11 Jun, 2019 4 commits
  3. 10 Jun, 2019 2 commits
  4. 08 Jun, 2019 1 commit
  5. 07 Jun, 2019 3 commits
    • Pruthvi's avatar
      layout aware "copy_from" for cpu tensor (#2991) · 27bc5f39
      Pruthvi authored
      * layout-aware cpu tensor copy_from
      
      * - add unit test case for tensor "copy_from"
      - set default layout after copy_from src to destination
      
      * - added test case to copy between two different layouts
      
      * - fix clang error
       - added test case to check copy_from if the two tensor layouts are different
      - fix the LayoutDesc comparision
      
      * fix windows build error
      
      * - move "cop_from" unit tests from tensor to cpu_test
      
      * fix compilation error
      
      * Added more unit tests
      
      * fix read and write API in cpu_tensor_view
      27bc5f39
    • Adam Procter's avatar
    • Nishant Patel's avatar
      Use convolution_direct algo (#3028) · 3762538c
      Nishant Patel authored
      * Failing conv test case
      
      * Opt for mkldnn::algorithm::convolution_direct if input channel is less than 8
      
      * Comment
      3762538c
  6. 06 Jun, 2019 3 commits
  7. 05 Jun, 2019 9 commits
  8. 04 Jun, 2019 2 commits
  9. 03 Jun, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/noarg1 (#2967) · a073c39e
      Scott Cyphers authored
      * Support for no-arg op construction
      
      * Add a-ops.
      
      * Two const init variations to try to solve windows link error
      
      * Try export for windows
      
      * Create outputs as needed, test
      
      * Remove attribute helpers
      
      * another windows try
      
      * windows
      
      * windows
      
      * Partial node cleanup
      
      * Review comments
      Node destruction that doesn't blow out the stack on deep graphs
      
      * Review comments
      
      * Update src/ngraph/node.hpp
      Co-Authored-By: 's avatarAdam Procter <adam.m.procter@intel.com>
      
      * Have huge test check that nodes were deleted
      
      * Switch constructors to use Output instead of Node
      
      * Review comments
      
      * Add some comments
      a073c39e
  10. 02 Jun, 2019 1 commit
  11. 31 May, 2019 5 commits
    • Robert Kimball's avatar
      Bob/hybrid multi (#3005) · e49dd589
      Robert Kimball authored
      * handle case where a node's output is connected multiple inputs of another node
      
      * fix creation of the FunctionCall to have the correct outputs
      
      * fix per review comment
      e49dd589
    • Sang Ik Lee's avatar
      Cleanup how compile flags are set and used by nGraph and external projects. (#2942) · 08dcd01b
      Sang Ik Lee authored
      * Cleanup how compile flags set and used by nGraph and external projects.
      Set C++11 through CMake and pass it down to external projects.
      Prefer CMake variables such as CMAKE_POSITION_INDEPENDENT_CODE and
      CMAKE_CXX_STANDARD instead of explicitly setting compiler dependent
      flags.
      Create json compilation database for external projects.
      CMAKE_CXX_FLAGS is used as common global options for nGraph and external
      projects.
      add_compile_options() is used for local options for current and sub
      directories.
      add_definitions() is used for setting definitions for current and sub
      directories.
      Note: Global options are not passed down to some external projects.
      Note: mkl-dnn resets CMAKE_CXX_FLAGS internally.
      Note: TBB and MLSL are not CMake based.
      Noet: Eigen and json is header only library.
      
      * Fix error.
      
      * Fix error. (second attempt)
      
      * Cleanup code.
      
      * Allow check for undefined macro.
      
      * Try to fix cldnn issue.
      
      * Set type for CMake arguments.
      
      * Pass C++ standard to protobuf.
      
      * Pass C++ standard down to TBB.
      
      * Change how Clang specific flags are handled.
      
      * Fix error.
      
      * Workaround for compile error on Baidu's PDPD docker.
      
      * Fix windows build error.
      08dcd01b
    • Chris Sullivan's avatar
      b520e839
    • Rob Earhart's avatar
      e3330b47
    • Sang Ik Lee's avatar
      Remove unused .gitmodule (#2997) · e4c5aa8f
      Sang Ik Lee authored
      e4c5aa8f
  12. 30 May, 2019 2 commits
  13. 29 May, 2019 3 commits
    • Adam Rogowiec's avatar
      [Fused] FakeQuantize operation. (#2928) · 36422810
      Adam Rogowiec authored
      * Draft of FakeQuantize operation along with UTs.
      
      * Add FakeQuantize to implemented operators on IGPU.
      
      * Get back FakeQuantize op case to switch.
      
      * Fix compilation errors.
      
      * Skip test for INTERPRETER backend and disable type_prop tests.
      
      * Initial implementation covering the most basic case
      
      * Cleanup of fake_quantize_with_clip UT
      
      * Reformat the cpu unit tests manifest and unlock anothe fake quant UT
      
      * Handle the clipping case by subtracting input_low from quantization input
      
      * Clip the input data before quantization to avoid Selects
      
      * UT manifest fix
      
      * Obsolete comment removed
      
      * Code formatting
      
      * Broadcast input data for non-scalar in/out params
      
      * Code formatting
      
      * Enable the type prop tests for FakeQuantize
      
      * Dequant the data without using the Dequantize op (fixes an edge case)
      36422810
    • Ilya Churaev's avatar
    • Adam Rogowiec's avatar
      Move reshape functions from utils to builder. (#2984) · db34286c
      Adam Rogowiec authored
      * Move reshape from utils to builder.
      
      * Add aliases to functions in old place and describe changes.
      db34286c