1. 25 Oct, 2018 4 commits
  2. 24 Oct, 2018 12 commits
  3. 23 Oct, 2018 8 commits
  4. 22 Oct, 2018 10 commits
    • Nick Korovaiko's avatar
      faster topological sort (#1886) · 02affea5
      Nick Korovaiko authored
      02affea5
    • Adam Straw's avatar
      add support for Quantize round mode (#1859) · 51104813
      Adam Straw authored
      * added half_toward_zero; all previous tests passing
      
      * all rounding modes added with unit tests
      
      * fix cpu emitter
      
      * round mode doc
      
      * round out round modes
      
      * doc typo
      
      * using  names for round modes
      
      * use ceil/floor for rounding functions instead of round/nearbyint
      
      * clean up doc
      
      * equidistant
      51104813
    • Jayaram Bobba's avatar
      IAT: Collapse dimensions around arithmetic reduction operations (#1763) · e765956a
      Jayaram Bobba authored
      * Collapse dimensions for arithmetic reduction ops to support faster kernels
      
      * Propagate in-place constants and allow in-place reshapes for more cases
      
      * style fix
      
      * Additional checks for parameter and constant to help backends that dont propagate in-place parameter and constant inputs
      
      * Allow non-destructive pass through onlyu if memory sharing is disabled
      
      * Address PR feedback
      
      * Bug fix for collapse dimensions in case of null reduction
      e765956a
    • Nick Korovaiko's avatar
      BatchNorm splitting into ops (2nd try) (#1828) · 1beec46b
      Nick Korovaiko authored
      * split bn into bn_inference bn_training
      
      * fix warnings
      
      * Add GPU support for the new BN ops (#1569)
      
      * Add GPU support and change batchnorm_globalstats test to use BNInference.
      
      * Changed test back to using BNTraining for global stats and updated cudnn backend to account for it.
      
      * Fix issues in merge with master.
      
      * Formatting.
      
      * CPU fixes
      
      * remove 5-arg training BN for now
      
      * more fixes
      
      * python batchnorm changes
      
      * fix onnx_import
      
      * fix a call BatchNormInference c-tor
      
      * yet another fix to BatchNormInference c-tor
      
      * AND yet another fix to batchnorm_inference c-tor
      
      * ops.py
      
      * address adam's feedback
      
      * Remove unnecessary parameter/argument.
      
      * remove batch_norm_training_relu_with_global_stats
      
      * remove bn_relu (training)
      1beec46b
    • mchrusci's avatar
      [ONNX CI] Fix manual reproduction script (#1881) · 187dee75
      mchrusci authored
      * Update runCI.sh
      
      Accommodate manual reproduction script.
      
      * Update README.md
      
      * Update runCI.sh
      
      * fixes
      * added rebuild parameter
      
      * Fix rebuilding nGraph
      
      * Added execution permission to runCI.sh
      187dee75
    • Robert Kimball's avatar
      e07147f8
    • yimeisun123's avatar
      Add bfloat16 data type in ngraph (#1861) · 8ea33de1
      yimeisun123 authored
      * Add bfloat16 data type in ngraph
      
      * Update on bfloat16 files
      - remove uint16_t related functions
      - adding/removing const modifier in functions
      - default assignment operator
      - style conformance
      
      * Add bf16 element type handling in Constant OP
      
      * Update bfloat16 data type implementation
      - support nan and infinity cases
      - add rounding option when creating bfloat16 from float
      
      * Update the comment for copyright info
      8ea33de1
    • Adam Procter's avatar
      Partial Shapes and Types, Part 4h: IndexReduction (#1829) · e92ee04c
      Adam Procter authored
      * Adapt Tensor class to have partial shapes
      
      * Add PartialShapes to Input, Output, Function, Node classes
      
      * Terminological cleanup
      
      * Add PartialShape propagation for Parameter and Result
      
      * Implement partial-shape propagation for elementwise ops
      
      * More comments
      
      * One more comment tweak
      
      * Add tests for the merge functions
      
      * Add merging of undetermined element types
      
      * Fix a goophup in deserializer implementation
      
      * Implement fallback for ops that do not support partial shape/type validation
      
      * Updates for some older unit tests, now that operator[] exists
      
      * Add missing validate_punt_if_incomplete to AllReduce
      
      * Implement partial shape/type propagation for AllReduce
      
      * Implement partial shape/type propagation for Reshape
      
      * Remove unneeded validate_punt from Result
      
      * Implement partial shape/type propagation for Reverse
      
      * Implement partial shape/type validation for ReverseSequence
      
      * Implement partial shape/type validation for ArithmeticReduction
      
      * Better docstrings for the stuff introduced in #1692; remove prototype for unimplemented, unused PartialShape::append()
      
      * One more docstring thing I forgot to save
      
      * Switch terminology from 'determined/undetermined' to 'static/dynamic'
      
      * Switch terminology from 'complete/incomplete' to 'static/dynamic' for shapes; fix up some mushily worded comments
      
      * Fix overzealous edits from the last commit
      
      * Rename one test that escaped the Great Renaming
      
      * Remove unnecessary validate_punt_if_dynamic from Reshape
      
      * Fix comment typo
      
      * Rewrite operator+ and operator* for Dimension as members, not friends
      
      * Formatting tweak
      
      * Show argument types/shapes in long NodeDescription; tank unit tests to block merge
      
      * Fix dynamic element type propagation for elementwise ops, add some unit tests for same
      
      * Fix error message
      
      * Roll 'Not' back to existing behavior (non-boolean input types allowed)
      
      * Add a TODO tag to a todo item
      
      * Add unit tests for partial shape/type propagation with ReverseSequence
      
      * Add unit tests for partial-shape/type propagation for ArithmeticReduction (via Sum)
      
      * Implement partial type/shape propagation for GetOutputElement
      
      * Implement partial type/shape validation for IndexReduction, and unit tests
      
      * Function signatures
      
      * Add implementations, unit tests for relaxes/refines functions
      
      * Generalize project/reduce/inject functions to cover PartialShape, move to shape_util.[ch]pp
      
      * Deal with std::find_if #include issues
      
      * Fix more include madness
      
      * Review comments
      e92ee04c
    • shssf's avatar
      30df706f
    • Scott Cyphers's avatar
      Doc for slice (#1872) · e571009d
      Scott Cyphers authored
      e571009d
  5. 21 Oct, 2018 3 commits
    • Adam Procter's avatar
      Partial Shapes and Types, Part 4i: OneHot (#1832) · 3ea3c0c3
      Adam Procter authored
      * Adapt Tensor class to have partial shapes
      
      * Add PartialShapes to Input, Output, Function, Node classes
      
      * Terminological cleanup
      
      * Add PartialShape propagation for Parameter and Result
      
      * Implement partial-shape propagation for elementwise ops
      
      * More comments
      
      * One more comment tweak
      
      * Add tests for the merge functions
      
      * Add merging of undetermined element types
      
      * Fix a goophup in deserializer implementation
      
      * Implement fallback for ops that do not support partial shape/type validation
      
      * Updates for some older unit tests, now that operator[] exists
      
      * Add missing validate_punt_if_incomplete to AllReduce
      
      * Implement partial shape/type propagation for AllReduce
      
      * Implement partial shape/type propagation for Reshape
      
      * Remove unneeded validate_punt from Result
      
      * Implement partial shape/type propagation for Reverse
      
      * Implement partial shape/type validation for ReverseSequence
      
      * Implement partial shape/type validation for ArithmeticReduction
      
      * Better docstrings for the stuff introduced in #1692; remove prototype for unimplemented, unused PartialShape::append()
      
      * One more docstring thing I forgot to save
      
      * Switch terminology from 'determined/undetermined' to 'static/dynamic'
      
      * Switch terminology from 'complete/incomplete' to 'static/dynamic' for shapes; fix up some mushily worded comments
      
      * Fix overzealous edits from the last commit
      
      * Rename one test that escaped the Great Renaming
      
      * Remove unnecessary validate_punt_if_dynamic from Reshape
      
      * Fix comment typo
      
      * Rewrite operator+ and operator* for Dimension as members, not friends
      
      * Formatting tweak
      
      * Show argument types/shapes in long NodeDescription; tank unit tests to block merge
      
      * Fix dynamic element type propagation for elementwise ops, add some unit tests for same
      
      * Fix error message
      
      * Roll 'Not' back to existing behavior (non-boolean input types allowed)
      
      * Add a TODO tag to a todo item
      
      * Add unit tests for partial shape/type propagation with ReverseSequence
      
      * Add unit tests for partial-shape/type propagation for ArithmeticReduction (via Sum)
      
      * Implement partial type/shape propagation for GetOutputElement
      
      * Basic support for partial shape/type propagation for OneHot
      
      * Function signatures
      
      * Add implementations, unit tests for relaxes/refines functions
      
      * Update OneHot to take PartialShape for result, with dynamic dimension allowed at non-one-hot axes
      
      * Generalize project/reduce/inject functions to cover PartialShape, move to shape_util.[ch]pp
      
      * Deal with std::find_if #include issues
      
      * Fix more include madness
      
      * (->{ ; )->}
      
      * size_t{...} -> static_cast<size_t>(...)
      3ea3c0c3
    • shssf's avatar
      IntelGPU backend: Profiling with various statistics (#1863) · 62524c8d
      shssf authored
      * IntelGPU backend: Profiling with various statistics
      
      * PR1863. Comments addressed. Types changed to allow scientific output
      62524c8d
    • shssf's avatar
      26b7d5a9
  6. 20 Oct, 2018 3 commits
    • Adam Procter's avatar
      Add missing include to benchmark.cpp (#1870) · 35c2dfe3
      Adam Procter authored
      Fixes an error when building on macOS (with CPU backend disabled, but not sure if that makes a difference):
      
      ```
      /Users/amprocte/Work/ngraph/src/tools/nbench/benchmark.cpp:36:29: error: use of undeclared identifier '_MM_FLUSH_ZERO_ON'
          _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
                                  ^
      /Users/amprocte/Work/ngraph/src/tools/nbench/benchmark.cpp:37:33: error: use of undeclared identifier '_MM_DENORMALS_ZERO_ON'
          _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
      ```
      35c2dfe3
    • Adam Procter's avatar
      Partial Shapes and Types, Part 4k: AvgPool/MaxPool and backprops (#1871) · 256a8b6d
      Adam Procter authored
      * Add merge_rank function
      
      * Update infer_windowed_reduction_output_shape to use PartialShape
      
      * Minor simplification
      
      * Some unit tests and (whaddaya know) fixes for infer_windowed_reduction_output_shape
      
      * Update infer_batched_pooling_forward to use PartialShape
      
      * Update pooling fprop ops for partial shapes
      
      * Update pooling bprop ops for partial shapes
      
      * Add test-failing reminders to implement unit tests for partial shape/type prop for pooling ops
      
      * Add unit tests for partial shape propagation for poolign ops
      
      * Nuke C-style casts for Dimensions/Ranks in validation_util.cpp
      256a8b6d
    • Adam Procter's avatar
      Partial Shapes and Types, Part 4j: Quantize/Dequantize (#1842) · 7f6f07ee
      Adam Procter authored
      * Adapt Tensor class to have partial shapes
      
      * Add PartialShapes to Input, Output, Function, Node classes
      
      * Terminological cleanup
      
      * Add PartialShape propagation for Parameter and Result
      
      * Implement partial-shape propagation for elementwise ops
      
      * More comments
      
      * One more comment tweak
      
      * Add tests for the merge functions
      
      * Add merging of undetermined element types
      
      * Fix a goophup in deserializer implementation
      
      * Implement fallback for ops that do not support partial shape/type validation
      
      * Updates for some older unit tests, now that operator[] exists
      
      * Add missing validate_punt_if_incomplete to AllReduce
      
      * Implement partial shape/type propagation for AllReduce
      
      * Implement partial shape/type propagation for Reshape
      
      * Remove unneeded validate_punt from Result
      
      * Implement partial shape/type propagation for Reverse
      
      * Implement partial shape/type validation for ReverseSequence
      
      * Implement partial shape/type validation for ArithmeticReduction
      
      * Better docstrings for the stuff introduced in #1692; remove prototype for unimplemented, unused PartialShape::append()
      
      * One more docstring thing I forgot to save
      
      * Switch terminology from 'determined/undetermined' to 'static/dynamic'
      
      * Switch terminology from 'complete/incomplete' to 'static/dynamic' for shapes; fix up some mushily worded comments
      
      * Fix overzealous edits from the last commit
      
      * Rename one test that escaped the Great Renaming
      
      * Remove unnecessary validate_punt_if_dynamic from Reshape
      
      * Fix comment typo
      
      * Rewrite operator+ and operator* for Dimension as members, not friends
      
      * Formatting tweak
      
      * Show argument types/shapes in long NodeDescription; tank unit tests to block merge
      
      * Fix dynamic element type propagation for elementwise ops, add some unit tests for same
      
      * Fix error message
      
      * Roll 'Not' back to existing behavior (non-boolean input types allowed)
      
      * Add a TODO tag to a todo item
      
      * Add unit tests for partial shape/type propagation with ReverseSequence
      
      * Add unit tests for partial-shape/type propagation for ArithmeticReduction (via Sum)
      
      * Implement partial type/shape propagation for GetOutputElement
      
      * Function signatures
      
      * Add implementations, unit tests for relaxes/refines functions
      
      * Generalize project/reduce/inject functions to cover PartialShape, move to shape_util.[ch]pp
      
      * Dynamic shpae/type prop for Quantize
      
      * Add unit tests for partial shape/type validation for Quantize
      
      * Implement partial shape/type validation for Dequantize, with unit tests
      
      * Remove #if 0'd code
      
      * Deal with std::find_if #include issues
      
      * Fix more include madness
      7f6f07ee