1. 06 Nov, 2019 4 commits
    • Scott Cyphers's avatar
      TensorIterator (#3038) · 4a25881e
      Scott Cyphers authored
      * TensorIterator
      
      * ssize_t is not on windows
      
      * RNN building test
      
      * simplify
      
      * Simplify output
      
      * typo
      
      * typos
      
      * remove arg
      
      * Sequence version
      
      * style
      
      * Serialization for all but TensorIterator
      
      * Add ops for igpu
      
      * style
      
      * typo, ngpu
      
      * missing headers, output vector
      
      * Fix const json issues
      
      * TensorIterator serialization
      
      * Serialization for TensorIterator
      Switch Outout<T> to use shared_ptr do nodes don't vanish
      Switch Result to new node style
      Add serialization/deserialization to test
      
      * Switch Output to use a shared_ptr to prevent nodes from disappearing early.
      
      * Eliminate wrapped enum
      Switch allreduce to new op form
      
      * Convert to new op form
      
      * Disambiguate concat
      
      * Add autobroadcast for SequencePush
      Add validation for SequencePush
      
      * compute shapes for SequenceRepeat
      
      * Add explicit conversion from PartialShape to dimension vector
      validate and infer types for SliceInput
      
      * validate and infer types for SequenceOutput
      
      * Add sequence attributes
      
      * Move test to serializer so it doesn't fail when there is no serializer?
      
      * const arg
      
      * Beginning of TensorIterator validation
      
      * Validation up to parameters
      
      * Fix shape in test
      
      * Remove mis-typed AxisSet
      
      * Simplify, add doc
      
      * Review comments
      
      * Tweaks
      
      * free/bound
      
      * Try fused op
      
      * Discussion
      
      * more
      
      * comments
      
      * Start of LSTMCell test
      
      * Add LSTMCell example
      
      * Reorg
      
      * Reorg
      
      * Fused ops don't need handlers
      
      * Serialization
      
      * Use `as_type` and `is_type` for up-conversions of descriptions
      Allocate output space for each output
      
      * Clean up type checking
      
      * Fix ser/deser issues
      
      * Refactor, cleanup type info to make it safer to use for non-ops
      
      * Implement validate_and_infer_types and modify unit tests.
      
      * For ops in the loop body: revalidate and infer types.
      
      Nested loop is not supported.
      
      * Put body ops in a set and call revalidate and infer types on the set.
      
      * Set slice[axis] to part_size.
      
      Call set_partial_shape to set shape for body parameters.
      
      Add more unit tests.
      
      * Give tensor iterator body a lambda
      
      * Update validate_and_infer_types and unit tests.
      
      * Serialization of body
      
      * Change static function to TensorIterator function.
      
      * review comments
      4a25881e
    • Gleb Kazantaev's avatar
      Fixed compilation warnings to build nGraph unit tests in OV CI (#3841) · ccbba5e4
      Gleb Kazantaev authored
      * Fix for openvino ci
      
      * Fix
      
      * Resolve comments
      
      * Revert_changes
      ccbba5e4
    • Scott Cyphers's avatar
      Remove unused variable (#3836) · 56141695
      Scott Cyphers authored
      56141695
    • Adam Rogowiec's avatar
      [SPEC] Numpy AutoBroadcast as default for specific ops. (#3816) · f5b322cf
      Adam Rogowiec authored
      * Add upgrade/downgrade pass for Add op.
      
      * Add upgrade/downgrade pass for Divide op.
      
      - Change default value of autobradcasting in v1 into NUMPY.
      
      * Add v1 version for Equal operator.
      
      * Rename helper functions to fix compiler errros.
      
      Fix Divide op version.
      
      * Add downgrade and upgrade passes for Equal op.
      
      * Reformat test cases. Add helper functions.
      
      Add UT for Equal op.
      
      * Add upgrade/downgrade pass and UT for Greater op.
      
      * Add upgrade/downgrade pass and UT for GreaterEq op.
      
      * Add upgrade/downgrade pass and UT for Less op.
      
      * Add upgrade/downgrade pass and UT for LessEq op.
      
      * Add upgrade/downgrade pass and UT for Maximum op.
      
      * Add upgrade/downgrade pass and UT for Minimum op.
      
      * Add upgrade/downgrade pass and UT for Multiply op.
      
      * Add upgrade/downgrade pass and UT for NotEqual op.
      
      * Add upgrade/downgrade pass and UT for Power op.
      
      * Force ops version 1.
      
      * Don't inline templates.
      
      * Fix namespaces and some formatting.
      
      * Update ONNX Importer to produce v1 nGraph nodes.
      
      * Fix function return type.
      
      * Fix uninitialized local variable warning.
      
      * Fix confilicting declarations.
      
      * Apply clang-format.
      
      * Fix errors for distributed nGraph with unavailable classes.
      
      * Fix downgrade pass for LessEqual op.
      f5b322cf
  2. 05 Nov, 2019 4 commits
  3. 04 Nov, 2019 10 commits
  4. 01 Nov, 2019 3 commits
  5. 31 Oct, 2019 4 commits
  6. 30 Oct, 2019 6 commits
  7. 29 Oct, 2019 5 commits
  8. 28 Oct, 2019 2 commits
    • Mateusz Bencer's avatar
      [SPEC] Implement StridedSlice:v1 (#3722) · bb9b5be6
      Mateusz Bencer authored
      * DynSlice was adjusted to specyfication
      
      * Fixed documentation
      
      * Fixed styles
      
      * Fixed clang warning
      
      * Introduced StridedSlice as separate op
      
      * revert dyn_slice
      
      * Fixed StrideSlice implementation
      
      * Enable downgrade pass in dynamic backend
      
      * Implemented upgrade/downgrade pass
      
      * Added serialization
      
      * Styles applied
      
      * Styles applied. Part.2
      
      * Updated dynamic backends list
      
      * Move StridedSlice outside experimental
      
      * Make Slice as v0 of StridedSlice
      
      * Styles applied
      
      * Styles applied
      
      * Fixed clang error
      
      * Code review remarks introduced
      
      * Move GenerateMask up in Opset0Downgrade to keep alphabetical sort
      
      * Style apply
      bb9b5be6
    • Leona C's avatar
      Stubs for Provenance documentation (#3781) · 5a61c135
      Leona C authored
      * Initial draft start
      
      * Add provenance doc
      
      * Another effort at resolving doc build warning
      
      * Revert file
      
      * Revise provenance intro
      
      * Ensure Clang dependencies update with new minimum version of clang needed
      
      * PR review feedback, cleanup other change added to collab_ngai
      5a61c135
  9. 25 Oct, 2019 2 commits
    • Scott Cyphers's avatar
    • Pruthvi's avatar
      Softmax + cross Entropy fusion for numerical Stabilization (#3669) · 1e2a3f34
      Pruthvi authored
      * - WIP fusion pattern for softmax + cross entropy
      
      * fix compiler error
      
      *  make summation axis integer for the fusion pattern
      
      * - Fusion pattern for sigmoid cross entropy bprop
      
      * WIP callback implementation for fused sigmod+crossentropy fprop
      
      * - implemented fprop softmax+crossentropy as single layer for numerical
      stabilization
      - added broadcasting nodes to fix elementwise assertions
      
      * Added unit test case for functionality test
      
      * Move the softmax + crossentropy fusion pass to core
      
      * i) style fix ii)added missing header
      
      * - Added new Fused Op for Softmax + CrossEntropy
      - moved the decomposition to the Softmax + CrossEntropy FusedOp
      
      * - Add SoftmaxCrossEntropy for fused tablegen
      - Add serializer support for SoftmaxCrossEntropy
      - fix documentation
      
      * Added missing json file for unit test case
      
      * Addressed PR comment
      
      * Addressed PR comments
      
      * - Fix fusion string
      
      * - Style fix
      
      * - Added Bprop for Softmax + crossEntropy
      
      * - added SoftmaxCrossEntropy support when soft_lable is provided
      - serailizer and deserializer support for SoftmaxCrossEntropyBprop
      
      * - Added support in decompose_op for SM+CE bprop when ignore_mask is specified
      
      * Updated Doc strinng
      
      * - unit test case for SoftmaxCrossEntropy backprop with soft lables
      - fixed decompose_op bug in bprop
      
      * - if soft_label=true, capture pattern only if the labels dont have one
      hot encoding
      
      * - SoftmaxCrossEntropyBprop Support if ignore_index is specified
      
      * add serialized files for unit test
      
      * - fix softmax + CE pattern bug
      - fix softmax + CE decompose_op() bug
      
      * - change reduction_axes to int64_t type in fprop and bprop ctor
      
      * - add soft_labels and ignore_index attribute to SM+CE fprop ctor
      
      * - addition asserts in unit test to ensure SM + CE fprop and bprop fusion is successful
      
      * - move reduction_axis computation to decompose_op from ctor to relax on
      dynamic shapes
      
      * Addressd PR Comments
      
      * - suppprt for SM+CE for ignore_index and softmax=false
      
      * - test case for SM+CE fprop with ignore_mask, soft_labels=false
      - fix bug in decompose_op
      
      * - refactor unit test case
      
      * - fix PDPD unit test
      
      * broadcast delta if shape mismatches
      
      * -fix bdcast issue in decompose_op
      1e2a3f34