1. 27 Sep, 2019 1 commit
    • 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
  2. 10 Sep, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Introduce ngraph-opt tool (#3560) · f159e196
      Diego Caballero authored
      * [MLIR] Enable LIT testing in CMAKE
      
      This PR enables LIT testing in nGraph for MLIR Compiler, introduced in
      PR3523. We can now do `make check-mlir-lit` to run LIT tests.
      
      * Address feedback
      
      * Revisit PR after cmake clean-up
      
      * [MLIR] Introduce ngraph-opt tool
      
      To be used, among other things, for LIT testing.
      `elementwise_binary_ops.mlir` shows a simple LIT test
      using ngraph-opt.
      
      Dummy affine_lowering/lit_test.mlir test that served as initial testing
      of LIT tool configuration is now removed.
      
      * Address feedback
      f159e196
  3. 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
  4. 17 Jul, 2019 1 commit
  5. 03 Jan, 2019 1 commit
  6. 17 Mar, 2018 1 commit
    • Sang Ik Lee's avatar
      [v0.1.0] Silee2/python binding (#674) · feeaed57
      Sang Ik Lee authored
      * Remove unsupported linker flags for Mac build.
      
      * Restructure python binding.
      Put low level direct wrapper for ngraph c++ API into ngraph/impl
      Move high level API from ngraph_api to ngraph
      
      * Move CMakeLists.txt to its own PR
      feeaed57
  7. 16 Mar, 2018 1 commit
    • Sang Ik Lee's avatar
      Silee2/single repo (#646) · 41a4d55f
      Sang Ik Lee authored
      * Wrapped convolution, max_pool, replace_slice, slice
      
      * Friendly API for Ngraph++ Python bindings
      
      * code review
      
      * Update incorrect ngraph version used in README.md and add ngraph version
      in file ngraph_ref
      
      * Update ngraph-neon
      
      * Friendly API for Ngraph++ Python bindings
      
      * Flake8 style fix
      
      * Friendly API for Ngraph++ Python bindings
      
      * code review
      
      * Update setup.py.in to include ngraph_api.
      
      * Update ngraph-neon.
      
      * Create separate build scripts for python2 and python3.
      
      * Update ngraph-neon.
      
      *  Tox configuration
      
       * automatically create virtualenvs for Python 2 and Python 3
       * run unit tests using pytest
       * check that code style is compliant with PEP8 using Flake8
       * run static type checking using MyPy
      
       See README.md for usage information.
      
      * Unary Ops
      
      Includes:
      
      * abs
      * ceil
      * exp
      * floor
      * log
      * neg
      * sqrt
      
      * Added MaxPool test
      
      * Added Convolution op test
      
      * mv mnist to examples/
      
      * Enabled reverse op test
      
      * Review fixes
      
      * Review fixes pt.2
      
      * Update ngraph-neon.
      
      * Update setup.py.in
      
      * Update ngraph-neon.
      
      * Enable broadcasting
      
      * Enable div op
      
      * Enable mul op
      
      * Enable sub op
      
      * Enable add op
      
      * Fix style and types for tox
      
      * Review fixes
      
      * Add docstrings
      
      * Up to date with private-ngraph-cpp
      
      * Update ngraph_ref
      
      * Update ngraph-neon.
      
      * Helper function for Constant Node
      
      * Minimum and Maximum Ops
      
      * Add dtype param to ng.constant
      
      * add LICENSE and switch to Intel Copyright
      
      * Added conv brop ops
      
      * Fix pep8 warning in copyright
      
      * Added convolution test
      
      * Fixed copyright header
      
      * Additional style checks
      
      Includes:
      * Do not use mutable data structures for argument defaults.
      
      * Helper ng.equal
      
      * Update ngraph-neon.
      
      * Added convolution brop test
      
      * Fixed format
      
      * Add max pooling backprop.
      
      * Add missing change.
      
      * Fix style and add a Node method.
      
      * Update ngraph-neon.
      
      * Implicit casting of scalar values to Nodes in API helper functions
      
      * Implicit casting unit tests
      
      * Support for ngraph boolean type
      
      * Add AvgPool support. Test cases will be added later.
      
      * Update ngraph-neon.
      
      * Extend Node class to support binary operators
      
      * updating cpp master
      
      * Update ngraph_ref
      
      * Update ngraph-neon.
      
      * Extend Node class to support more binary operators
      
      * Bugfix for Constant op test
      
      * Fix for reversed operators
      
      * Enable tanh op
      
      * Flake8-Bugbear requires Python3
      
      * Fix for node with empty shape
      
      * Wrapping serialize function
      
      * Update setup.py.in
      
      * Update __init__.py
      
      * Fix import for static type checking.
      
      * Enable logical ops
      
      * Update ngraph-neon
      
      * Enable dot op.
      
      * Raise an error when user provided data that we currently don't support.
      
      * Change raised error type to more appropriate.
      
      * Fix: remove superfluous user input checking.
      
      Actually Dot function inside ngraph++ performs input validation. The error
      checking we want to do should be within ngraph_onnx interface.
      
      * Enable conv2d op
      
      * Added convolution test
      
      * Remove currently unused arguments.
      
      Dot can determine reduction axes inside ngraph++ for <= 2D cases.
      
      * Fix function signature type annotation.
      
      * Updated convolution test
      
      * Added argon backend
      
      * Update wrappers to match ngraph 8ad86ab9
      
      * Update ngraph-neon.
      
      * Update ngraph to d2d0196b
      
      * Update python binding.
      
      * Limit number of threads for parallel build.
      
      * Update python wrapper.
      
      * Update AvgPool constructor.
      
      * Update python wrapper.
      
      * Add Reshape op.
      
      * Better conv default parameters
      
      * Enable sum op
      
      * Add reshape operation documentation.
      
      * Review fix
      
      * Added gpu skip
      
      * API - Enable Pooling Ops (#55)
      
      * Enable AVG Pooling OP
      
      * Enable MAX Pooling OP
      
      * Review fix
      
      * Update python wrappers.
      
      * Fixing the default argument handling for serializer function
      
      * Update python wrapper.
      
      * API - Change default Runtime to CPU (#58)
      
      * Fix RuntimeError: function fails to compile
      
      * Change default Runtime to CPU
      
      * Fix for tox tests on CPU backend
      
      * API - Add serialize method to Computation class
      
      * Sync ngraph-cpp part 1
      
      * Sync ngraph-cpp remaining
      
      * Sync continued
      
      * Sync to ngraph-cpp part 3
      
      * Sync -- Changing test file
      
      * update ref spec
      
      * update cpp ref
      
      * Update setup.py.in and rename concatenate.cpp and concatenate.hpp to concat.cpp and concat.hpp
      
      * Add missing source file in setup.py.in
      
      * Wrap manager class for calling the reshape elimination pass
      
      * header file change
      
      * Rename pass to passes to avoid python keyword conflict
      
      * file rename
      
      * Add src file in setup.py
      
      * private-ngraph-cpp renamed to ngraph-cpp
      
      * API - Integrate Shape objects (#66)
      
      * Speedup for broadcasting in python_api
      
      * Wrap relu & relubackprop op
      
      * Type in setup.py
      
      * Wrap Max op
      
      * Wrap Product op
      
      * Wrap Allreduce op
      
      * Wrap FunctionCall op
      
      * include function header file
      
      * Wrap GetOutputElement op
      
      * Wrap Min op
      
      * Update ngraph cpp master
      
      * Wrap BatchNorm op
      
      * Wrap Softmax op
      
      * Fix in setup.py, batchnorm.cpp & softmax.cpp
      
      * Add __repr__ function to Shape objects.
      
      * updating commit hash in README
      
      * Downgrade python to python3.5
      
      * Correct implementation of __str__ and __repr__ wrappers for Shape object and their usage from Node and Parameter
      
      * Update wrapper
      
      * Update setup.py.in to match setup.py
      
      * Update ngraph-cpp to 89da71d3
      
      * Update wrapper.
      
      * Add sum, max, min and prod interfaces to ng++ Sum, Max, Min, Product respectively
      
      * Add unit test for max, min, sum, and prod operations.
      
      * Update README: ngraph-cpp repo has been renamed to ngraph
      
      * Change pybind11 as a source only CMake external project
      
      * Update python wrapper.
      
      * Move pybind11 download location and remove legacy setup.py
      
      * Update wrapper.
      
      * Change package name from pyngraph to ngraph
      
      * Remove python submodule.
      
      * Move .gitignore
      
      * Fix compilation issue after serializer api update.
      
      * Remove files accidentally added by last RP to wrapper repo.
      
      * Add missing packages to setup.py.in
      
      * Fix module path issue.
      
      * fix goe (jayaram)
      
      * Fix wrapper and ngraph_api tests
      
      * Add minimal documentation for the python wrappers.
      
      * Add test_reduction.py in ngraph_api
      
      * Update python nGraph doc.
      
      * Remove commented out code.
      
      * update README.md, delete ngraph_ref, fix tox
      
      * Revert "Add minimal documentation for the python wrappers."
      
      This reverts commit 2e61c698bd15f3b08dc096d4b1774d0cb52041ee.
      
      * Revert incorrect way of adding doc.
      
      * Revert incorrect way of adding doc.
      This reverts commit 2e61c698bd15f3b08dc096d4b1774d0cb52041ee.
      
      * Move conftest.py and fix in README
      
      * Add minimal docstring for python wrappers.
      
      * Format Wrapper cpp code
      41a4d55f
  8. 14 Mar, 2018 1 commit
    • Robert Kimball's avatar
      Yet another serialization option (#619) · 28602f31
      Robert Kimball authored
      * Add cpio file read/write class and unit tests
      
      add reserializer
      
      Add unit test for serialize constants to cpio file. Fix bug in serializer if function has no parameters.
      28602f31
  9. 15 Feb, 2018 1 commit
  10. 09 Feb, 2018 1 commit
  11. 08 Feb, 2018 1 commit
  12. 26 Dec, 2017 1 commit
  13. 25 Nov, 2017 1 commit
    • Robert Kimball's avatar
      Bob/includes (#266) · 51dcfe07
      Robert Kimball authored
      * add json lib 2.1.1
      
      * turn off clang-format for json lib
      
      * add unit test file
      
      * add code to poison the use of ngraph.hpp from within the ngraph library
      51dcfe07
  14. 20 Sep, 2017 2 commits
  15. 19 Sep, 2017 1 commit
  16. 16 Sep, 2017 1 commit
    • Bob Kimball's avatar
      add liveness pass · d3f3bb1b
      Bob Kimball authored
      add naming of tensors and tensor views
      add visualization pass
      add graph dump pass
      d3f3bb1b
  17. 15 Sep, 2017 1 commit
  18. 14 Sep, 2017 1 commit
  19. 13 Sep, 2017 2 commits
  20. 11 Sep, 2017 1 commit
  21. 10 Sep, 2017 1 commit
    • Robert Kimball's avatar
      add pass skeletons · ae48ed32
      Robert Kimball authored
      add test framework
      
      stuff wired up
      
      benchmark segfault for 5M nodes. fun
      
      make traverse_nodes not recursive
      
      print timings on benchmark
      
      unit test for pass manager
      ae48ed32
  22. 08 Sep, 2017 1 commit
    • Scott Cyphers's avatar
      Add input/output tensor information to nodes. · 7a00e125
      Scott Cyphers authored
      All tuples are expanded out to their component tensors.
      
      Output: Describes one tensor output of an node
      Input: Described one tensor input to a node, including the output supplying the value.
      7a00e125
  23. 06 Sep, 2017 2 commits
  24. 05 Sep, 2017 1 commit
    • Avijit's avatar
      Avijit/ngraph cpp integration 2 (#81) · 3c815ee4
      Avijit authored
      * Cleaned up the CMakeLists.txt to properly do the include paths and fixed the install targets.
      Also cleaned up the header files located in sub directories.
      * Added a simple C++ example with Makefile.
      * UPdated the readme with TF usage instructions.
      3c815ee4
  25. 31 Aug, 2017 1 commit
  26. 30 Aug, 2017 4 commits
  27. 29 Aug, 2017 1 commit
  28. 23 Aug, 2017 1 commit
  29. 22 Aug, 2017 2 commits
  30. 19 Aug, 2017 1 commit
  31. 16 Aug, 2017 1 commit
  32. 10 Aug, 2017 1 commit
  33. 08 Aug, 2017 1 commit