1. 09 May, 2019 1 commit
    • 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
  2. 04 Apr, 2019 1 commit
    • Robert Kimball's avatar
      bfloat16 testing and fixes (#2693) · 667d8f9e
      Robert Kimball authored
      * add test file
      
      * add new float_util files
      
      * Add unit tests for bfloat. Fix bfloat rounding code since it was incorrectly rounding.
      
      * add more tests
      
      * cleanup
      
      * change trucate to be endian agnostic
      
      * prep work for constexpr ctors
      
      * ready for constexpr
      
      * constexpr ctor for bfloat16
      
      * more bfloating
      
      * write constexpr isnan since it is not constexpr on Macos
      
      * remove cast operator
      
      * add benchmark test and cleanup
      
      * use aligned buffers for benchmark tests
      
      * fix numbers printed in benchmark
      
      * remove union and use cast operator
      
      * all tests passing
      
      * cleanup
      667d8f9e
  3. 02 Apr, 2019 1 commit
  4. 25 Mar, 2019 1 commit
    • gcwenger's avatar
      Added "min_signal" paramater to float testing (#2653) · abd1c70d
      gcwenger authored
      min_signal is intended to optionally skip checking float
      distances when numbers are close enough to 0.
      Only skips when both numbers are < min_signal.
      Intention is to allow tighter float testing in certain
      cases where most values are not near 0, but values near
      zero are differing by more bits than values farther from 0.
      Should be used with caution in limited cases.
      abd1c70d
  5. 05 Feb, 2019 1 commit
  6. 07 Jan, 2019 1 commit
    • gcwenger's avatar
      Simplified all_close_f interface and tightened default criteria (#2285) · 0eaa960c
      gcwenger authored
      * Simplified & tightened all_close_f parameters
      
      Removed specification of mantissa bits for all_close_f in favor
      of just specifying tolerance bits. Tightened up all_close_f default.
      Fixed LRN unit test which had insufficient result precision to pass
      tighter all_close_f tolerance.
      
      * Addressed PR comments.
      
      Reworked mantissa bit and tolerance constants.
      Clarified and improved graph comparison tolerance calculation flexibility.
      Clarified unit test tolerance testing.
      0eaa960c
  7. 03 Jan, 2019 1 commit
  8. 19 Dec, 2018 1 commit
  9. 13 Dec, 2018 1 commit
    • gcwenger's avatar
      Addressed some all_close_f loose ends (#2200) · 656b2f72
      gcwenger authored
      * Simplified all_close_f tolerance determination. Made all_close_f less verbose. Transitioned graph comparison to use double comparison when appropriate.
      
      * Reworked all_close_f AssertionResult returning code to include message in AssertionResult on success also.
      
      * Added CMake option NGRAPH_GTEST_INFO, which controls whether or not any gtest info cout is done. Quiets all_close_f tests by default.
      
      * Moved NGRAPH_GTEST_INFO from build option to environment variable.
      656b2f72
  10. 08 Dec, 2018 1 commit
  11. 07 Dec, 2018 1 commit
    • gcwenger's avatar
      Support for all_close_f w/ doubles (#2184) · 125f7242
      gcwenger authored
      * Double support for all_close_f
      
      * all_close_f uses fixed number of mantissa bits now. Simplified testing code.
      
      * Initialize test data members in constructor to values which will cause test failure. Setup then sets them correctly.
      
      * Reduce info printed out during all_close_f unit tests.
      125f7242
  12. 01 Dec, 2018 1 commit
  13. 29 Aug, 2018 1 commit
  14. 02 Jun, 2018 1 commit