- 14 Dec, 2017 1 commit
-
-
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
-
- 13 Dec, 2017 3 commits
-
-
Adam Procter authored
-
Nick Korovaiko authored
clean-up, formatting fixes cleanup2 clean up 3 tests pass remove printf switching to the old version of TupleType::==
-
adstraw authored
topological sort pass to call the utility function clone util to be used by frameworks e.g. for fprop cache
-
- 12 Dec, 2017 2 commits
-
-
Robert Kimball authored
LSTM benchmark test performance counters
-
Adam Procter authored
-
- 11 Dec, 2017 2 commits
-
-
Adam Procter authored
* WIP generalized dot * Add some multi-axis 3D, 4D, and 5D tests * Add test on some 'pretty big' tensors * Reworked dot to have less flexible axis-pairing behavior * Backprop for dot... and a fix for a dumb bug in CoordinateTransform * Forgot to commit some stuff in merge * Disable tests that currently don't work on CPU * Fix temporarily disabled test that should pass on NGVM and INTERPRETER but wasn't due to new axis-selection convention for dot * Remove obsolete ScalarTensorProduct kernel/instruction * Review comment * s/n_dot_axes/dot_axis_count/ * s/dot_axis_count/reduction_axes_count/ * Adapt CPU emitter dot fallback to new kernel
-
Robert Kimball authored
* add support for n-dimensional operations by calling runtime/kernels * rename cpu backend classes and files * add tuple support to INTERPRETER * move ndarray out of runtime to test where it belonged * fix Tuple op per review comment
-
- 06 Dec, 2017 2 commits
-
-
Nick Korovaiko authored
* subgraph labels * adding more documentation for Label * minor fixes
-
Adam Procter authored
* Remove unnecessary dependency on codegen in interpreter * Check for incorrect return type and undeclared parameters in Function's constructor * Address review comments * Add scarier error message when the result node has null return type (should never happen) * Add new constructor for Function that doesn't require the return type, and unit test for same
-
- 05 Dec, 2017 1 commit
-
-
Robert Kimball authored
* New Interpreter backend * PR review comments * More RP fixes * oops * make autodiff tests backend aware * wip * wip * more ops * wip * fix merge error * merge fixes
-
- 04 Dec, 2017 1 commit
-
-
Adam Procter authored
* Simpler kernel for broadcast * Fixed behavior for integer divide-by-zero, added unit tests * Strided and higher-dimensional slice (just tested to 3D) * Higher-dimensional sum * Replace-slice de-Eigenized; NOT TESTED AT HIGHER DIMENSIONS YET * Correct sum behavior when eliminating zero-length axes; add unit tests; also, add higher-dim unit tests for replace-slice * Higher-dimensional reduce, 'cause hey, why not? * Remove BroadcastScalarInstruction * Adding test for an observed failure at trivial sum on 5-tensors * De-Eigenized and higher-dimmified concat * Replace 'auto' in the kernels * temporary delete to ease merge * Re-insert tests that were deleted to ease merge * Refactor view-iteration * De-Eigenize reshape * Rework divide kernel to use std::enable_if to distinguish between floating and non-floating types * Update docs to reflect newly implemented cases in several ops * Rename parameters to View for more clarity; remove axis_walk_order (it's redundant) * Formatting * More terminological rejiggering * De-Eigenize scalar-tensor product * De-Eigenize dot * Update docstrings * Remove 'implementation status' tables from docstrings * Change step -> strides everywhere for consistent terminology * Formatting * Replace asserts in view.cpp with exceptions * Fix typo * Fix incorrect result type in dot1d test (ouch...) * Add missing support for Float64 to ngvm/external_function * Add int16 and uint16 (how was this missing?) * A few more additions relative to the missing element types * Disable tests that will not pass on CPU; they can still be run with test/unit-test --gtest_also_run_disabled_tests --gtest_filter='DISABLED_NGVM.*' * Move project_ and inject_ functions to common.[ch]pp, not view.[ch]pp * Rename View to CoordinateTransform * Add prefix ++ and += to CoordinateIterator
-
- 01 Dec, 2017 1 commit
-
-
Adam Procter authored
-
- 30 Nov, 2017 5 commits
-
-
Nick Korovaiko authored
* move replace_node to util * static run_matchers_on_nodes_list * switching to map * formatting * addressing Scott's feedback and fixing warnings * more pattern matcher refactoring refactoring cont'd
-
Matthew Brookhart authored
* Add numpy_transpose to the builder for numpy-stype transpose operations * fix docstring * make sure to throw the error
-
Robert Kimball authored
* add json lib 2.1.1 * add json serialization of graph * cleanup * enhance unit test * remove FunctionProvider class and replace with virtual get_function() in Node * remove json code from element_type * move serialize to be directly in the ngraph namespace. cleanup header file. * add cname check to element::operator== * add using json = nlohmann::json
-
Adam Procter authored
-
Adam Procter authored
-
- 29 Nov, 2017 2 commits
-
-
Christian Convey authored
-
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
-
- 28 Nov, 2017 2 commits
-
-
Nick Korovaiko authored
* Start of pattern matcher recursive graph matcher, pattern node add matcher.cpp add files for matcher, graph_rewrite add const to on_match_class fix comp errors reshuffle pattern matching code across corresponding files fix comment run clang-format graph_rewrite replace_node getting simple test cases to work op/pattern.cpp toward graph_rewrite tests older matcher API before clean up tests before rebase build bbrks more tests clean up more clean-up more cleanup 2 more clean up 3 clean up 4 clang errors clang errors2 apply code format move match_class to matcher major clean up after moving match_class to matcher.cpp removing tracing changes rebased as of 11/8 make matcher use i/o descs to traverse the graph; change replace_io switching to io tds graph_rewrite tests fail all tests pass formatting unhandle outputs explicitly for now reset permissions back to 0644; bad bad windows fixes after rebase * fixes * addressing Scott's feedback
-
Matthew Brookhart authored
* First compiling pass, doesn't link tests, looks like templates aren't properly initialized? * Make reduce inline, compiles, sum passes test * Initial working reduce op builder * Add Std dev, Variance, L2Norm. Tests fail because Power isn't actually implemented in ngraph++ yet * Add Doc Strings, slight refactor * fix tests after master merge * Fix style issues raised in PR review * Switch to Sum-based ops instead of Reduce-based ops for simpler autodiff. * Add requested TODO comments * Use all_close for tests * Remove product op
-
- 25 Nov, 2017 4 commits
-
-
Robert Kimball authored
-
Adam Procter authored
-
Robert Kimball authored
* add json lib 2.1.1 * turn off clang-format for json lib * add unit test file * add code to poison the use of ngraph.hpp from within the ngraph library
-
Robert Kimball authored
* ParameterizedTensorView and ElementType cleanup * change element to_type() to from()
-
- 22 Nov, 2017 1 commit
-
-
Robert Kimball authored
-
- 21 Nov, 2017 10 commits
-
-
Robert Kimball authored
-
Tristan Webb authored
-
Tristan Webb authored
Clang cuda example from: https://gist.github.com/anonymous/855e277884eb6b388cd2f00d956c2fd4
-
Tristan Webb authored
-
Tristan Webb authored
-
Tristan Webb authored
-
Robert Kimball authored
-
Jaikrishnan Menon authored
-
Robert Kimball authored
-
Robert Kimball authored
-
- 20 Nov, 2017 1 commit
-
-
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
-
- 17 Nov, 2017 1 commit
-
-
Robert Kimball authored
-
- 16 Nov, 2017 1 commit
-
-
Robert Kimball authored
-