1. 10 May, 2019 11 commits
    • Adam Rogowiec's avatar
      Move ONNX lp-norm utility functions to core op/util. (#2881) · 56c3d47f
      Adam Rogowiec authored
      * Extend lp-norm functions to take bias.
      
      * Move lp-norm utilities to nGraph core op/util.
      
      * Move norm files to builder directory.
      
      * Apply clang-format.
      
      * Address review comments.
      
      * Add using namespace std.
      
      * Review comments.
      
      * Fix clang errors.
      56c3d47f
    • Jayaram Bobba's avatar
      Enable non-constructor use of shape inference (#2875) · 76fb19b0
      Jayaram Bobba authored
      * Enable non-constructor use of shape inference
      
      * Move GPU BatchNormTrainingWithStats shape inference out of the constructor
      
      * Addressed PR feedback
      76fb19b0
    • Jayaram Bobba's avatar
      Added extra attributes to DynSlice (#2862) · 8b091114
      Jayaram Bobba authored
      * Add more slicing attributes to dynslice
      
      * Added output shape computation for dyn slice
      
      * Bug fixes and added unit tests
      
      * Style fix
      
      * Addressed PR feedback
      8b091114
    • 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
  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 5 commits
    • Scott Cyphers's avatar
      Klocwork issues. (#2847) · 79415315
      Scott Cyphers authored
      * Klocwork issues.
      
      * Revert to dynamic_pointer_cast
      Unverified
      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
      Unverified
      8933fed0