1. 10 May, 2019 8 commits
    • Adam Rogowiec's avatar
      [ONNX] Activation functions parameters for LSTM. (#2842) · dddcd4a8
      Adam Rogowiec authored
      * Move HardSigmoid to nGraph fused operators.
      
      * UT for HardSigmoid fused operator.
      
      * Add type_prop UT.
      
      * Activation function parameters and hardsigmoid activation function.
      
      * UT for lstm with hardsigmoid activation function.
      
      * Reorder operations in implementation.
      
      * Fix unit tests.
      
      * Fix typo.
      
      * Change stored activation function to pure function pointer.
      
      * Apply style-check.
      
      * [ONNX] Refactor LSTM tests to use NgraphTestCase
      
      * Enable passing instance values to comparator
      
      * Style apply.
      
      * Fix style, syntax
      
      * Change order of class member to fix errors.
      
      * Switch to single-precision parameters.
      
      * Disable unit test for IGPU.
      dddcd4a8
    • tsocha's avatar
    • Tomasz Dołbniak's avatar
      [FusedOps] Clamp (#2886) · a006b5c4
      Tomasz Dołbniak authored
      * Fused Clamp op implementation
      
      * Basic clamp test with some edge cases
      
      * Dump the expected and actual values for NgraphTestCase
      
      * Validate the min and max params for Clamp
      
      * Use clamp in clip
      
      * Disable Clamp and its test on iGPU
      
      * Use getters for Clamp's parameters
      
      * Validate clamp's params in pre_validate_and_infer_types
      
      * Unit tests for clamp op validation
      
      * Revert "Dump the expected and actual values for NgraphTestCase"
      
      This reverts commit 3a029d70e62339ee84aadf2bf16e418281b85ff7.
      
      * Clamp op docs
      a006b5c4
    • Robert Kimball's avatar
      Add more info to error messages (#2894) · 421311ed
      Robert Kimball authored
      421311ed
    • Adam Procter's avatar
      Dynamic-shape backend API change, with prototype implementation (#2844) · 5b0c6a32
      Adam Procter authored
      * Add create_dynamic_tensor function to Backend signature
      
      * Add skeleton of dynamic wrapper class
      
      * Simple test for construction
      
      * Some progress on dynamic tensor creation
      
      * Compile dynamic wrapper into core; change config string to a factory option
      
      * Add wrapped executable, working on simple example
      
      * Add wrapped dynamic tensor
      
      * Update to match new tensor API
      
      * Update wrapper to clone the graph; basic dyn test now passes
      
      * Update call_with_validate to grok dynamic
      
      * Make the unit tests a little prettier
      
      * Make get_element_type virtual
      
      * Change dynamic tests to be backend-parametric; fix get_element_type check for dyn tensors
      
      * Add dynamic.in.cpp
      
      * CODEOWNERS entry for dynamic_wrapper
      
      * Remove overly-accommodating behavior for create_dynamic_tensor on non-dynamic BEs
      
      * Pass enable_performance_collection to wrapped compile() calls
      
      * More comments in the 'abc' test
      
      * Fix 'create' wrapper in pybind11
      
      * Remove unnecessary WrappedStaticTensor class
      
      * Better names for the classes, and add some docstrings
      
      * Fix pybind for 'create' to return shared_ptr now
      5b0c6a32
    • Michał Karzyński's avatar
      [ONNX] Add interpret_as_scalar helper (#2825) · f07b95a2
      Michał Karzyński authored
      * Add interpret_as_scalar helper
      
      * Add interpret_as_scalar to OneHot
      
      * clang-format
      
      * Remove interpret_as_scalar from OneHot
      
      We currently only support OneHot with constant depth
      
      * Review comments
      f07b95a2
    • Adam Rogowiec's avatar
      Add HardSigmoid to fused ops. (#2824) · fb0ae59c
      Adam Rogowiec authored
      * Move HardSigmoid to nGraph fused operators.
      
      * UT for HardSigmoid fused operator.
      
      * Add type_prop UT.
      
      * Reorder operations in implementation.
      
      * Fix unit tests.
      
      * Fix typo.
      
      * Apply style-check.
      
      * Switch to single-precision parameters.
      
      * Disable unit test for IGPU.
      fb0ae59c
    • Adam Procter's avatar
      Tweaks to VisualizeTree to make it tractable to render complex training graphs (#2864) · 86a99474
      Adam Procter authored
      * Some hacks for graph visualization
      
      * More betterer
      
      * Remove debug prints
      
      * Cheap temporary hack to deal with zombie users issue
      
      * Less hacky fix for the zombie users issue
      
      * Change to use get_name instead of get_friendly_name; misc. cleanup of dot output
      
      * Allow '.dot' as VisualizeTree output format, and make it default
      
      * Cleanup, and some documentation of this jump distance nonsense
      
      * Comment edits
      
      * Another comment edit
      
      * Fix typo
      
      * Remove reverse_topological_sort function (it's not needed)
      86a99474
  2. 09 May, 2019 8 commits
    • Jianying Lang's avatar
      Langjian/mpi finalize (#2884) · 4d6fcc78
      Jianying Lang authored
      * Rewrite the MPI_Finalize
      
      * Change destructor to virtual finalize
      
      * Test
      
      * More bug fix
      
      * Delete space
      
      * Add variable to control initialization and finalization
      
      * Add a bool variable to control initialization and finalization for openmpi and mlsl
      4d6fcc78
    • Robert Kimball's avatar
      Store Constant arrays where data is constant as a single value (#2880) · 7c337e5d
      Robert Kimball authored
      * wip
      
      * Add support for storing constant array of constant values as a single values that is automatically broadcast on deserialize
      
      * revert some changes to serializer.cpp
      
      * fix all_close_f to support nan and inf to allow for unit test
      
      * update unit tests to pass for all_close_f update
      
      * fix bug with i64
      
      * address compile issues?
      
      * change function name to be more accurate
      
      * fix compiler error
      7c337e5d
    • Tomasz Dołbniak's avatar
      [ONNX] Hardmax support in ONNX importer (#2869) · ae352fa4
      Tomasz Dołbniak authored
      * [ONNX] Hardmax implementation in the onnx importer
      
      * [ONNX] More generic handling of types in hardmax
      
      * [ONNX] Support for doubles in EmbeddingLookup CPU builder
      
      * [ONNX] Throw when the provided axis is out of range
      
      * [ONNX] Skip the hardmax test on GPU
      
      * Unused headers clean-up
      
      * refactor: move the identity matrix generator to common.hpp
      
      * ASSERT_VALID_ARGUMENT for axis range validation
      
      * Adapt to the code changes in master
      ae352fa4
    • Scott Cyphers's avatar
      Migrate from r0.19 (#2890) · d83d18a4
      Scott Cyphers authored
      d83d18a4
    • Michał Karzyński's avatar
      [ONNX] Refactor LSTM tests to use NgraphTestCase (#2827) · ecbe0042
      Michał Karzyński authored
      * [ONNX] Refactor LSTM tests to use NgraphTestCase
      
      * Enable passing instance values to comparator
      
      * Review comments
      ecbe0042
    • Leona C's avatar
      Update section on Homomorphic Encryption transformer (#2879) · a6df47e3
      Leona C authored
      * Update section on Homomorphic Encryption transformer
      
      * Make sure other updated files get added to git commit
      
      * Clarify that rc versions may have newer features and may be less stable.
      
      * Prettier formatting because vectors are important
      
      * Minor review changes
      a6df47e3
    • Sergey Shalnov's avatar
      IntelGPU backend: change code owner (#2877) · fe370177
      Sergey Shalnov authored
      * IntelGPU backend: change code owner
      
      * Add Sevin
      fe370177
    • Adam Straw's avatar
      Quantization API cleanup (non breaking) (#2873) · 41f7cb5f
      Adam Straw authored
      * quantization cleanup
      
      * offset changed to zero point
      
      * fix failing tests
      
      * code style
      
      * code style
      41f7cb5f
  3. 08 May, 2019 5 commits
  4. 07 May, 2019 2 commits
  5. 06 May, 2019 3 commits
  6. 03 May, 2019 3 commits
  7. 02 May, 2019 3 commits
  8. 01 May, 2019 8 commits
    • Scott Cyphers's avatar
      Klocwork issues. (#2847) · 79415315
      Scott Cyphers authored
      * Klocwork issues.
      
      * Revert to dynamic_pointer_cast
      79415315
    • Jayaram Bobba's avatar
      static_cast where possible (#2850) · 6562c902
      Jayaram Bobba authored
      6562c902
    • Pruthvi's avatar
      dynamic shape support for algebraic_simplification pass (#2804) · 870f5000
      Pruthvi authored
      * - add support to algebriac simplification to check dynamic shapes against the Pass Properties
      
      * - added PassProperty to RecurrentMatcher
      - added checks to check for dynamic function state  and PassProperty in GraphRewrite before applying graph optimization
      - optimize number of calls to f->is_dynamic() in AlgebraicSimplification
      
      * - make changes to Algebriac Simplicfication graph pass to accept PassProperty
      
      * - test case for AlgebraicSimplification pass properties
      - set the Pass Property in the pass ctor
      
      * Address PR comments
      
      * fix bug in pass manager
      
      * Addressed PR comments
      870f5000
    • Leona C's avatar
      Update documentation section on graph visualization, fix ngraph bridge link, etc. (#2818) · 2147309f
      Leona C authored
      * Update for v 0.19
      
      * Add rnotes from github releases page
      
      * Add section on graph inspection tools, add link to HE transformer, and fix link to ngraph bridge for Tensorflow
      
      * Fix broken links
      
      * Remove MANYLINUX from list of default flags
      
      * Revise some for new script loc
      
      * Add stub for ngc_util python script
      
      * Might as well link to open source file
      
      * original file from Vasanth Tovinkere
      
      * updated to handle more attributes.
      
      * Update new script loc and details
      
      * Revise intro
      
      * Clarify large graphs generated from script best read on gephi or cytoscape only
      
      * Edit oddly-worded sentence for clarity
      
      * Delete ngraph_json_to_graphml.py
      
      * Delete ngc_util.py
      
      * Add nGraph logo, update color scheme, disallow preprocessing of frontends' markdown UI
      
      * Finalize doc changes for release v0.19
      
      * PR feedback on nGraph-friendly tools
      2147309f
    • Scott Cyphers's avatar
      Cyphers/fp16 (#2845) · 8933fed0
      Scott Cyphers authored
      * Basic float16
      
      * Basic fp16 support
      
      * typo
      8933fed0
    • Amy Zhuang's avatar
      Create mkldnn primitives at first iteration for codegen - part1. (#2806) · e8b5d11b
      Amy Zhuang authored
      * Create mkldnn primitives at first iteration for CODEGEN.
      
       OPs: add, lstm, and rnn.
      
      *  OPs: batchnorm.
      
      *  OPs: concat and lrn.
      
      Remove dead code.
      
      * Skip in place concat, relu, reshape, and slice when building node_primitive_string_deps_index map.
      
      * Change NGRAPH_ASSERT to NGRAPH_CHECK.
      
      * Ops: Qconv
      
      * Ops: Convs
      
      * Address PR Feedback.
      
      * Dynamic scale support for qconvs
      
      * updating to amy's recent change
      
      * GroupConv and Cleaning dead code
      
      * Address PR Feedback.
      
      * Remove unused variable.
      
      * Fix a bug.
      
      * Fix style error.
      e8b5d11b
    • Robert Kimball's avatar
      Change CPU backend to use PassConfig for codegen enable (#2826) · d77ace68
      Robert Kimball authored
      * Change CPU backend to use PassConfig instead of backdoor for codegen
      
      * move is_codegen decl to output dex only flag
      
      * revert change
      d77ace68
    • Robert Kimball's avatar
      Fix python stuff on Scott's PR (#2843) · bf865efd
      Robert Kimball authored
      * Remove parameter, result, and node vector files and class, use vector
      
      * Fix gcc issues
      
      * style
      
      * Remove python references
      
      * update python files
      
      * fix error
      
      * fix build error
      bf865efd