1. 09 Apr, 2018 1 commit
    • Robert Kimball's avatar
      New backend/transformer API (#739) · 777600c6
      Robert Kimball authored
      * force backend compile() to make a copy of the graph
      
      fix copy_with_new_args on ops that have function pointers internal
      
      update unit test for new backend API
      
      add unit test for multiple simulataneous backends
      
      * move get_subdevices virtual method to Manager class
      
      * update GPU to latest
      
      * update call methods
      
      * add remove_compiled_function()
      777600c6
  2. 04 Apr, 2018 1 commit
    • Nick Korovaiko's avatar
      Support multi-output ops in Adjoints (#796) · 5f0e8dc3
      Nick Korovaiko authored
      * refactor Adjoints to support multi-output ops
      
      * passing tests
      
      * switch to generate_adjoints(deltas) and backprop_node
      
      * remove debugging code
      
      * fix error msg
      
      * fix typo adjoitns
      
      * fix comp errors in mnist_mlp
      5f0e8dc3
  3. 21 Mar, 2018 2 commits
  4. 16 Mar, 2018 1 commit
  5. 07 Mar, 2018 1 commit
  6. 26 Feb, 2018 1 commit
    • Yixing Lao's avatar
      Initial support for hybrid transformer (#526) · 7f08b97b
      Yixing Lao authored
      * initial support for hybrid transformer
      
      * add broadcast_vector_rowwise_reversed for hybrid test
      
      * headerc
      
      * get function placement fix
      
      * conv ref test generator graph node in labmda fuction
      
      * rename map_parameter_to_source_node
      
      * type change map_parameter_to_source_node
      
      * use interpreter for numerical derivative
      
      * better comments
      7f08b97b
  7. 09 Feb, 2018 2 commits
  8. 08 Feb, 2018 1 commit
  9. 06 Feb, 2018 1 commit
  10. 23 Jan, 2018 1 commit
    • adstraw's avatar
      convolution backprop (#404) · 72a2ce72
      adstraw authored
      * fix convlution reference script
      
      * convolution backprop
      
      * cleanup
      
      * fix build warnings
      
      * Missing include
      
      * fix build warning part 2
      
      * move numeric_compare to its own header
      code review feedback
      
      * fix build warnings 3
      
      * fix build warnings 4
      
      * clang-format
      
      * cast to avoid implicit cast warning
      72a2ce72
  11. 20 Jan, 2018 1 commit
  12. 05 Jan, 2018 1 commit
  13. 29 Dec, 2017 1 commit
    • Scott Cyphers's avatar
      Get value types out of public API, multi-values from Function (#340) · d092cb91
      Scott Cyphers authored
      * Function can have multiple results
      Remove external use of ValueType, TupleType, Tuple
      Remove many external uses of Output and Input
      
      * corresponding CPU backend changes
      
      * Update master changes.
      
      * Remove type arg from Function, add changes.md
      
      * Merge changes.
      
      * Move bodies to .cpp, add brief doc
      
      * Merge CPU changes.
      
      * Remove xla includes from non-xla files
      
      * Remove xla from tests
      
      * First part of xla tuple support
      
      * change fprop_cache to assume multi-output bprop functions
      
      * New wrappers for handling tuples with XLA
      
      * Review comments
      
      * remove old xla files
      
      * fix merge errors
      
      * hand edit models to use multi output instead of tuples
      d092cb91
  14. 21 Dec, 2017 1 commit
    • Robert Kimball's avatar
      Fix autodiff uninitialized data error (#329) · 3269387e
      Robert Kimball authored
      * fix autodiff on non-NGVM backends. NGVM initializes all tensors to zero on allocation while the other backends do not. Had to initialize vector before use.
      
      * change autodiff tests to use INTERPRETER
      3269387e
  15. 19 Dec, 2017 1 commit
    • Robert Kimball's avatar
      Remove ParameterizedConstant (#309) · 833a8f14
      Robert Kimball authored
      * remove use of ParameterizedConstant from unit test. Now using Constant instead. Constant is not a templated class.
      
      * move ParameterizedTensorView to NGVM directory
      
      * element_type cleanup
      833a8f14
  16. 14 Dec, 2017 1 commit
    • Nick Korovaiko's avatar
      Toward removing tuples and m_arguments (yuge rebase and fixes) (#301) · fce3c524
      Nick Korovaiko authored
      * tuple -> xla_tuple (+headers)
      
      xla_get_tuple_element
      
      get_tuple_element headers
      
      adding get_tuple_element + fixes
      
      get_tuple_element
      
      XLAFunction; breaks tests
      
      compiling libngraph.so w/ XLAFunction and Function; fixing tests is next
      
      build & test fixes
      
      formatting
      
      m_arguments -> get_arguments (first step to hide m_arguments)
      
      removing some get_arguments
      
      get_arguments -> get_arguments_DEPRECATED
      
      more DEPRECATED
      
      formatting
      
      m_arguments no more! at least technically
      
      halfway
      
      tests pass
      
      xla_function.cpp/hpp
      
      move defs into cpp files
      
      get_input_argument -> get_input_op
      
      formatting
      
      * add xla_function.* and assert -> throw
      
      * assert -> throw, remove cassert
      
      * removing emitter.cpp; poor guy got left behind
      
      * addressing feedback p1
      
      * rename GetTupleElement -> GetOutputElement
      
      * adding a comment to get_arguments_FOR_GRAPH_REWRITE_ONLY
      
      * removing virtual off set_name
      fce3c524
  17. 29 Nov, 2017 1 commit
    • Adam Procter's avatar
      Backprop for some ops (#257) · 13330d49
      Adam Procter authored
      * Autodiff for abs
      
      * Formatting, more tests for abs
      
      * Cos autodiff; also a clarifying comment in the abs test
      
      * Forgot cos.cpp
      
      * Sin autodiff
      
      * Again, forgot to add sin.cpp  :/
      
      * Tan autodiff
      
      * Minor formatting tweak
      
      * Commit partial work on select backprop so I can run valgrind on the server  :/
      
      * Fix boolean thingy so it works on Linux
      
      * Autodiff for ceiling, convert (untested), floor, sign. Fix unit test for tan. Implement ceiling, floor in VM.
      
      * Fix bug in abs/sign unit test ranges
      
      * Add multiplicative inverse and square-root ops (needed for hyperbolic trig autodiff)
      
      * Better formula for sqrt adjoints
      
      * Autodiff for hyperbolic trig ops
      
      * Forgot to add cpp files for hyperbolics
      
      * Remove inv (don't need it after all); also formatting (oops)
      
      * fix bug with Convert autodiff
      
      * Autodiff for concat
      
      * Restore the accidentally-commented-out unit test for abs
      
      * Formatting
      
      * Fix 'unordered_map.at' exception when Adjoints::Adjoints visit a node that has never been add_delta'd; remove workarounds for that bug
      
      * Fix erroneous 'not implemented' docstring for op::Not
      
      * Autodiff for sum
      
      * Checking in broken support for replace_slice so I can test it with valgrind on the dev box
      
      * Fix unit test bug with tensor initialization; formatting
      
      * Implement replace-slice in CPU backend
      
      * Autodiff for Slice and ReplaceSlice
      
      * Tweak docs for ReplaceSlice
      
      * Remove no-longer-needed cast of arg list to runtime::TensorView
      13330d49
  18. 25 Nov, 2017 1 commit
  19. 20 Nov, 2017 1 commit
    • Robert Kimball's avatar
      Bob/ngvm (#250) · b95135c6
      Robert Kimball authored
      * wip
      
      * remove ndarray dependency from ParameterizedTensorView
      
      * get rid of operator= on ParameterizedTensorView
      
      * remove unimplemented ctor
      
      * remove get_parameterized_tensor_view from TensorView class
      
      * cleanup
      
      * the patient will get worse before getting better. remove ParameterizedTensorView from element type
      
      * cleanup obsolete includes
      
      * remove unused file
      
      * move aligned_buffer and cleanup
      
      * cleanup
      
      * wip
      
      * wip
      
      * wip
      
      * cleanup
      
      * cleanup
      
      * wip
      
      * finally got rid of getting a non-const vector from PTV
      
      * wips
      
      * wip
      
      * remove unused
      
      * fix PR comments
      b95135c6
  20. 08 Nov, 2017 1 commit