1. 05 Apr, 2019 1 commit
  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. 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
  4. 18 Mar, 2019 1 commit
  5. 11 Mar, 2019 1 commit
  6. 25 Feb, 2019 1 commit
    • Sang Ik Lee's avatar
      Update mkl-dnn build script. (#2487) · 65ac0e68
      Sang Ik Lee authored
      Update TBB build script for Windows.
      
      Fix typo.
      
      Fix incorrect omp lib name on Windows.
      
      Fix incorrect tbb.dll path on Windows.
      
      Make LIBRARY and ARCHIVE output directory consistent.
      
      Function missing on Windows.
      
      Update test::util::all_close() to fix compilation issue on Windows
      
      Export CPU_Executable on Windows.
      
      Change nbench path for unit-test on Windows.
      
      Change copy to copy_if_different.
      
      Install CPU backend on Windows.
      
      Disable tools test on Windows.
      
      Disable two failing unit test on Windows CPU.
      
      Fix incorrect CPU backend install path on Windows.
      65ac0e68
  7. 22 Feb, 2019 1 commit
  8. 20 Feb, 2019 1 commit
  9. 29 Jan, 2019 1 commit
  10. 18 Jan, 2019 1 commit
    • Louis Feng's avatar
      Addes backprop to BatchDot op, allows fusion in training. (#2297) · ef778693
      Louis Feng authored
      * batch dot bprop WIP.
      
      * WIP.
      
      * testing.
      
      * clean up debug code.
      
      * comments and var name change.
      
      * clean up.
      
      * format style, batch dot differentiable pass.
      
      * removed debug output.
      
      * added unit test to autodiff, refactored make_function -> make_function_from_file.
      
      * fixed build warning.
      
      * fixed gpu build error.
      
      * clang format fix.
      
      * all test_tools.cpp to find SERIALIZED_ZOO
      
      * remove cmake redef.
      
      * fix unused macro.
      
      * making test cpu only.
      
      * testing build var
      
      * macro test
      
      * verbose makefile test
      
      * style fix
      
      * verbose make
      
      * test/util needs test/models.
      
      * removed debug output.
      
      * refactor fusion type.
      
      * refactor fusion type.
      ef778693
  11. 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
  12. 03 Jan, 2019 1 commit
  13. 31 Dec, 2018 1 commit
  14. 28 Dec, 2018 1 commit
  15. 21 Dec, 2018 1 commit
  16. 19 Dec, 2018 2 commits
  17. 13 Dec, 2018 3 commits
  18. 11 Dec, 2018 1 commit
    • Robert Kimball's avatar
      Windows build support (#2177) · 9234cc69
      Robert Kimball authored
      * files pulled from bob/winbuild
      
      * fix compile problems
      
      * fix a few windows build errors
      
      * add windows file to exclude from git
      
      * add comment why change was made
      
      * revert obsolete change
      
      * more cleanup
      
      * building interpreter and unit test on windows with DLLs
      
      * Add flag for windows to export all symbols. Short term fix.
      
      * enable MD build
      
      * address warnings
      
      * dump all windows build results to a single directory
      
      * fix windows backend dll open issue
      
      * remove debug
      
      * fix file iterator for windows
      
      * fix merge error
      
      * fix test failure
      
      * change header from h to hpp in hopes of making python happy
      
      * address more linux build issues
      
      * fix visibility enable
      9234cc69
  19. 08 Dec, 2018 1 commit
  20. 07 Dec, 2018 2 commits
    • Robert Kimball's avatar
      Backend API change pre-work (#2064) · e0933553
      Robert Kimball authored
      * change compile call to return Handle
      
      * make CPU require compile() before call()
      
      * fix unit tests to call compile() before call()
      
      * fix failing ops
      
      * update unit test
      
      * revert some changes
      
      * more fixups
      
      * more diff cleanup
      
      * a few more issues addressed
      
      * more fixes
      
      * update API
      
      * more updates
      
      * fix test_ops.py
      
      * fix
      
      * another attempt to fix
      
      * fix unit test
      
      * fix test error
      e0933553
    • 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
  21. 06 Dec, 2018 1 commit
    • Fenglei's avatar
      nvgpu cuda reduce with stable sum (#2076) · 606f3f93
      Fenglei authored
      * add some helper function
      
      * update with new helper function
      
      * update reduce to nd with new helper function
      
      * update float sum to stable sum
      
      * fix bug
      
      * update all reduce to stable sum for float
      
      * fix bug and pass the sum stable test
      
      * remove debug info
      
      * style
      
      * update with shape
      
      * fix bug
      
      * add host parameters to cuda_emitter
      
      * clang format
      
      * fix bugs
      
      * add element::type support
      
      * format
      
      * add a cached value with datatype name
      
      * add init_reduce_value
      
      * unroll loop
      
      * optimization
      
      * remove the need for init_value
      
      * add memset kernel
      
      * add memcpy
      
      * working version
      
      * remove debug info
      
      * add comments, clean up code.
      
      * change in_idx to input_idx
      
      * fix bug
      
      * change args name for memset in emitter
      
      * pass element::Type instead of string
      
      * the op::reduce come with init value, add support
      
      * resolve codacy-bot comment
      
      * fix bug
      
      * resove codacy-bot comment
      
      * remove unused comments, resolve comments
      
      * cuda reduce for max, min, mul, reduce op init value, format
      
      * use type::info
      
      * use type info for numeric_limits
      
      * remove code from gpu_host_parameters
      
      * header
      
      * remvoe outdated comments
      
      * add helper to check if stable sum is needed
      
      * add stable sum test for double
      
      * remove extra line
      
      * consolidate helper functions
      
      * no need list now.
      
      * remove extra ;
      
      * clang format
      
      * style
      
      * add skip test for cpu and intelGPU side
      
      * add line between groups of headers
      
      * add two simple stable sum test for float and double
      
      * skip test for intelGPU
      606f3f93
  22. 01 Dec, 2018 1 commit
  23. 21 Nov, 2018 1 commit
  24. 16 Nov, 2018 1 commit
  25. 11 Nov, 2018 1 commit
    • Fenglei's avatar
      add isfinite check for all_close (#2028) · 702d465a
      Fenglei authored
      * add isfinite check
      
      * style
      
      * output 5 diff and total diff
      
      * output limit of diff for all_close_f
      
      * dix bug
      
      * disable tests
      
      * remove failing unit test that does not make sense.
      702d465a
  26. 10 Nov, 2018 1 commit
    • gcwenger's avatar
      Heterogenous serialized graph testing across backends (#2020) · 40bcfdf7
      gcwenger authored
      * Heterogenous sub-graph comparison testing
      
      * Print index for float differences
      
      * Disabled compare_backends_with_graphs on most backends for now. Moved to new file. Added testing of unsigned values.
      
      * Fixed element::boolean range. Added missing include.
      
      * Switched use of shared_ptr as parm to raw *. Moved to using namespace std in cpp. Fixed comment marker in unit_test.manifest files. Switched some EXPECT_EQ TO ASSERT_EQ. Fixed parameterized test disabling.
      
      * Frozen naming -> serialized. Removed extraneous comments.
      
      * Graph comparison unit test relies on CPU for reference, so only build when CPU is built.
      
      * Reworked per backend disabling of compare_backends_with_graphs
      40bcfdf7
  27. 31 Oct, 2018 1 commit
    • Robert Kimball's avatar
      Change Backend::create to return std::unique_ptr<Backend> (#1909) · 05a404a8
      Robert Kimball authored
      * create unique_ptr backend
      
      * unit test cleanup
      
      * address more code that was recently added
      
      * change from reference to pointer when passing backend to reduce the number of lines changed.
      
      * fix build error
      
      * fix python wrapper
      
      * style
      
      * more specific treatment for unique_ptr
      05a404a8
  28. 23 Oct, 2018 1 commit
  29. 29 Sep, 2018 1 commit
  30. 27 Sep, 2018 1 commit
    • Robert Kimball's avatar
      Major cleanup of runtime::TensorView (#1682) · 8caa2717
      Robert Kimball authored
      * remove get_tensor method
      
      * remove get_element_count as it is redundant to get_size
      
      * fix a few issues with examples and python wrapper
      
      * rename get_size to get_element_count and add get_size_in_bytes method
      8caa2717
  31. 15 Sep, 2018 1 commit
  32. 14 Sep, 2018 1 commit
    • Scott Cyphers's avatar
      Cyphers/layout (#1602) · 2f79f707
      Scott Cyphers authored
      * Remove "view"
      Simplify layout
      
      * Fix merge error
      
      * fix build error
      
      * PR1602. IntelGPU backend. Compilation fixed.
      2f79f707
  33. 12 Sep, 2018 1 commit
  34. 31 Aug, 2018 1 commit
    • Scott Cyphers's avatar
      Validate/infer types as a virtual function (#1463) · 132b5305
      Scott Cyphers authored
      * Validate/infer types as a virtual function
      BroadcastLike, ScalarConstantLike
      Set output shape separately from output types
      Remove some obsolete tests
      Replace *Like ops with fixed type versions
      
      * Review comments
      
      * Remove TensorViewType
      
      * Remove PrimaryTensorView
      
      * Reviewer comments
      
      * Style fix.
      
      * Another try at GPU
      
      * GPU
      
      * Simplify class hierarchy
      
      * More of previous.
      
      * Better errors
      
      * Remove unneeded classes
      
      * Merge
      
      * Update Python bindings
      
      * clang-format
      
      * Remove redundant files
      
      * Remove commented out lines
      
      * clang-format
      
      * Group includes
      
      * Missing tests
      
      * Merge error
      132b5305
  35. 29 Aug, 2018 2 commits