- 22 May, 2019 1 commit
-
-
Adam Procter authored
* Virtualize some things that crash when layout descriptor is missing * More shape specialization * (very bare) skeleton for dyn elimination * Miscellaneous * Lift i32->int64-only restriction on constant folding for Convert * Add constant folding for ShapeOf, and some tests for new constant folders * Tests for DynElimination * Rename specialize_shapes to specialize_function, and add a unit test for value substitution * Roll back overeager API change in dyn slice bprop (it has to handle right-indexed axes; bummer) * Add a test for dynamic usage of transpose op * Fix warning/error about variable shadowing * Strengthen checks in apply_permutation * Propagate Constant shapes through Transpose * Add CHANGE_DYNAMIC_STATE where appropriate * PR feedback, and fix unit test failure * Fix PR reference in comment * PR comments * Comments for helper funcs * Remove unique_ptr indirection for the AlignedBuffers * Fix incorrect indexing of AlignedBuffer vector (whoops\!) * Remove unnecessary CHANGE_DYAMIC_STATEs * De-update pass property unit test for const folding * Replace mystery runes with all_pass_property_off
-
- 21 May, 2019 1 commit
-
-
Robert Kimball authored
* Add move operations to AlignedBuffer * unit test
-
- 17 May, 2019 1 commit
-
-
Adam Procter authored
-
- 13 May, 2019 1 commit
-
-
Sang Ik Lee authored
* Temp save. * Temp save. * Temp save. * Temp save. * Temp save. * Temp save. * Temp save. * Fix compile errors. * Fix incorrect index. * Fix UT typo. * Interpreter passes UT. * Fix more bugs. * Apply style. * Add shape check for updates tensor. * Merge typo
-
- 10 May, 2019 1 commit
-
-
Adam Procter authored
* Add create_dynamic_tensor function to Backend signature * Add skeleton of dynamic wrapper class * Simple test for construction * Some progress on dynamic tensor creation * Compile dynamic wrapper into core; change config string to a factory option * Add wrapped executable, working on simple example * Add wrapped dynamic tensor * Update to match new tensor API * Update wrapper to clone the graph; basic dyn test now passes * Update call_with_validate to grok dynamic * Make the unit tests a little prettier * Make get_element_type virtual * Change dynamic tests to be backend-parametric; fix get_element_type check for dyn tensors * Add dynamic.in.cpp * CODEOWNERS entry for dynamic_wrapper * Remove overly-accommodating behavior for create_dynamic_tensor on non-dynamic BEs * Pass enable_performance_collection to wrapped compile() calls * More comments in the 'abc' test * Fix 'create' wrapper in pybind11 * Remove unnecessary WrappedStaticTensor class * Better names for the classes, and add some docstrings * Fix pybind for 'create' to return shared_ptr now
-
- 01 May, 2019 1 commit
-
-
Scott Cyphers authored
* Basic float16 * Basic fp16 support * typo
-
- 30 Apr, 2019 2 commits
-
-
Jayaram Bobba authored
* - Added support for complex ops used in object detection models - PriorBox, PriorBoxClustered, Proposal, RegionYolo, ReorgYolo * Added unit test file * Fix documentation errors
-
Scott Cyphers authored
* Refactor distributed to be isolated to a few files. * Fix type-o * style * review comments * type-o * typo * Return name
-
- 29 Apr, 2019 1 commit
-
-
Adam Procter authored
* Add ShapeRelevance pass * Typo
-
- 26 Apr, 2019 1 commit
-
-
Jayaram Bobba authored
Added NGRAPH_JSON_ENABLE to conditionally enable code/features relying on external JSON libraries (#2821)
-
- 23 Apr, 2019 1 commit
-
-
Robert Kimball authored
* Add ConstantToBroadcast pass * address review comment * fix merge error
-
- 19 Apr, 2019 1 commit
-
-
Robert Kimball authored
* wip * Make a copy of the FunctionCall's internal function prior to compilation * Make sure unit test is only included with interpreter and cpu backends enabled
-
- 18 Apr, 2019 2 commits
-
-
Michał Karzyński authored
* Move ONNX tests to the test/onnx subdirectory * Change non-conforming test names * Refactor quant and reshape tests to separate files * Refactor tests into separate files * Rename test in GPU excludes
-
Mohammad Mahbubuzzaman authored
* Add some unit tests for provenance with node replacement * One more test * add provenace propagation * Adds ability to control whether provenance is on or off * Add some unit tests for provenance with node replacement * One more test * add provenace propagation * Adds ability to control whether provenance is on or off * Removes extraneous semicolon * Fixes include header errors * Reimplements provenance enable flag using global variable * Fixes style issues. * Adds newline at the end of file. * Fixes function return type. * Adds RAII mechanism for localizing provenance enable state in testing. * Improves getter/setter method name to match variable name. * Adds s_ prefix to global variable provenance_enabled.
-
- 17 Apr, 2019 1 commit
-
-
Sang Ik Lee authored
* Temp. * Put all the dummy files. * Remove some compile errors. * WIP: Add gather and gather_nd kernels. * Temp save. * Update comments for gather. * Implement reference gather. * Validate and infer shape. * Style. * Fix compile issues. * Add serializer support. * Fix interpreter compilation issues. * WIP: Add UT * WIP: Add UT * gather_nd UT passing. * Fix gather with no axis. * Fix gather issue. * Update unit_test.manifest for backends and add gather, gather_nd support for generic cpu. * Add type_prop tests. * Add CPU builders. * Fix codegen. * Make some UT numbers more readable. * Style. * Update Copyright Year * Update Copyright Year * Fix Typo. * Remove unused variable. * fix nv gpu build error * Fix intel gpu compilation. * Add basic docstring. * Allow 1D indices for gather_nd. * Allow scalar indices for gather. * Update unit_test manifest files. * Style. * Add indices element type check and add failing type_prop checks. * Update docstring. * Fix incorrect test names in unit_test.manifest * Missing header
-
- 16 Apr, 2019 2 commits
-
-
Robert Kimball authored
-
Jayaram Bobba authored
* - Moves some fused convolution ops to core FusedOps - Adds support for decomposing and replacing multi-output FusedOps - Adds query callbacks to FusedOpDecomposition to check if a FusedOp is supported by a backend - Adds core fusion patterns for FusedOps - * style fix * Added comments on FOP_FUSIONS * gpu convolution 1d bug fix (#2741) * Fix bug with dex-only compilation and addressed PR comments
-
- 15 Apr, 2019 1 commit
-
-
Adam Procter authored
* Replace assert and NGRAPH_ASSERT with NGRAPH_CHECK; deprecate old classes * Rename node_validation_assertion_string to something slightly more descriptive * Fix syntax error in GPU BE * Fix some messed-up includes * More comments, more tests * Fix reference to properly include check.hpp (should unbreak codegen) * Add check.hpp include to gpu_util.cpp * Comment updates * Comment update * Oops * PR feedback: better formatting when context info or explanation are missing
-
- 09 Apr, 2019 1 commit
-
-
Adam Straw authored
This reverts commit 6c8284a3.
-
- 05 Apr, 2019 2 commits
-
-
Jayaram Bobba authored
* Initial support for specification of fused ops and type inference * Added FusedOpDecomposition pass and execution test cases * Serializer support * style fix * Add FusedOpDecomposition to GPU and IGPU backends * Addressed PR feedback * Fix comment * Addressed PR feedback
-
Adam Straw authored
* Add some unit tests for provenance with node replacement * One more test * add provenace propagation
-
- 04 Apr, 2019 1 commit
-
-
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
-
- 29 Mar, 2019 1 commit
-
-
Avijit authored
* Added the initial rev. of the Event tracing * Fixed the API and format * Updated based on review feedback * More updates based on code review feedback * Fixxed format again * More update based on PR review comments * Fixed format * Fix a compilation error that doesn't show up in local system!
-
- 28 Mar, 2019 1 commit
-
-
Adam Procter authored
* Skeleton for shape specialization * Change signature of as_constants to return the vector, with zero elements in case of failure * Add as_constants implementation for Concat * Some comments * Add check for element types of replacements; fix comment typo * Address PR feedback, and add some comments * An extra check, and a comment, ahead of the memcpy * Minor comment wording fix
-
- 25 Mar, 2019 1 commit
-
-
Ayan Moitra authored
* [WIP] First commit * Remove some commented code * Further changes * Further changes * Add method to remove patterns with just one concat * Add tests * Add more tests * Fix fan out case * refactor code * refactor code * Added NGRAPH_DEBUG statements * Use INTERPRETER as backend instead of CPU...travis build failure * clang * minor edit * add more checks in the tests * Incorporate Bob's comment * Removed some NGRAPH_DEBUG statements and incorporated Pruthvi's comment * Incorporate Xiaoyu's comments * some refactoring
-
- 18 Mar, 2019 1 commit
-
-
Adam Procter authored
* Add NodeInput and NodeOutput classes * Review comments
-
- 14 Mar, 2019 3 commits
-
-
Robert Kimball authored
* add unit tests for the two versions of Backend create_tensor * disable new unit test on GPU until we have time to address it
-
Sang Ik Lee authored
* Set rpath for mkl-dnn. * Set library rpath to on Linux. * Use patchelf to set rpath of prebuilt mklml library. * Add patchelf to Linux Dockerfiles. * Revert "Add patchelf to Linux Dockerfiles." This reverts commit 1769505a866061552942e19467ddcc0dad0922e8. * Revert "Use patchelf to set rpath of prebuilt mklml library." This reverts commit 726f6553a0450520328607177d64baf48fa93dd2. * Copy cldnn runtime. * Copy mlsl libraries.
-
Adam Procter authored
* Add support for shape-specializing functions * Move PR comment into docstring for specialize_shapes * Fix some broken unit tests * Add stub cases for op_tbl-dependent stuff * Revert "Add stub cases for op_tbl-dependent stuff" This reverts commit 2153967dc2fe544ca78a99548c8bb3cdfefc8470.
-
- 06 Mar, 2019 1 commit
-
-
Jayaram Bobba authored
-
- 27 Feb, 2019 1 commit
-
-
Robert Kimball authored
* function call working * fix compile error * fix compile error * add attribute support to plot_graph * fix build error * fix merge error * better colors for FunctionCall op
-
- 25 Feb, 2019 1 commit
-
-
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.
-
- 13 Feb, 2019 1 commit
-
-
Avijit authored
-
- 11 Feb, 2019 1 commit
-
-
Sandeep authored
* quick fix to add openmpi as default * add finalize to distributed class & use unit test * use intel mlsl github link * apply style * address a few comments * fix test * update nbench cmake * remove extras * fix a bug * add counter to finalize and cleanup * test ci error * address mlsl ci error * update flag names, as mentioned in pr comment * revert back the link to mlsl repo and tag * add flag to finalize * apply style * debug with info * delete when flag is true * add distributed setup class works, tests pass * fix style * remove extra instance * disable the test due to a bug * change flag to ompi * remove the dependency of setting NGRAPH_DISTRIBUTED_ENABLE flag * cleanup * change extern to static * remove the option NGRAPH_DISTRIBUTED_ENABLE setting this flag * formatting * update flags not catched by ci * make unique pointer * remove unused bool, fix clang error
-
- 04 Feb, 2019 2 commits
-
-
Robert Kimball authored
* fix windows build * wip * mkldnn seems to build * address various errors building cpu backend with MSVC * wip * wip * Windows support. * Delete dependency of LLVM when building with MSVC. * Define EIGEN_HAS_CONSTEXPR when using MSVS. * Fix MSVC build errors. * Incorrect argument to 'decltype'. It is VC bug. Work around the error with rename the function into different name. * MINMAX issue in matmul_bias.cpp. * Correct TBB_LINK_LIBS on Windows. * Fix MSVC link errors. 1. redefine problems in cpu_builder.obj and convert_layout.obj. It is because cpu_builder.hpp contains an implicit implement of function runtime::cpu::Builder::build for cpu::op::ConvertLayout. The fix is deleting the registration item in cpu_builder.cpp and using REGISTER_CPU_OP_BUILDER in convert_layout.cpp. 2. Fix the dependent libraries path on Windows. It should be *.lib not *.dll when linking these libraries. * Set visibility for CPU backend to fix the MSVC linker error. MSVC complain that the .def file exceed the size limitatoin when using CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS. All the functions with CPU_BACKEND_API are used by unit test or nbench. * Fix unit test build errors on Windows. * backend_unary_elementwise.in.cpp: Use all_close_f to test case BACKEDND sqrt * cpu_fustion.cpp: Fix 'NUM_STEPS' cannot be implicitly captured because no default capture mode has been specified * cpu_test.cpp: Use portable setenv and unsetenv from misc.hpp. * tools.cpp: Use portable fpopen from misc.hpp. * misc.hpp/misc.cpp: Add new files to host misc functions that Linux and Windows using different implementation. * Make Debug mode work with MSVC. * style * fix line ending
-
Robert Kimball authored
* remove general splitting code. New code in hybrid transformer. * more cleanup
-
- 28 Jan, 2019 1 commit
-
-
Robert Kimball authored
-
- 26 Jan, 2019 1 commit
-
-
Robert Kimball authored
-
- 24 Jan, 2019 1 commit
-
-
Robert Kimball authored
* update hybrid unit test * remove unused files * add graphviz to test * add ability to add attributes to graphviz nodes * tweak colors * more interesting graph * update test model * add memory management passes * add Dump * wip * remove in-place code from memory layout
-
- 17 Jan, 2019 1 commit
-
-
Adam Procter authored
* Retire Reduce, ReduceWindow, SelectAndScatter * Remove lingering AnyAllReplacement code * Remove apparently-now-unused macro * Remove lingering op/reduce.hpp includes * Remove FunctionCall * Update Python stuff to remove FunctionCall, Reduce * Add Any/All tests to GPU manifest * Remove deleted .hpp #include from gpu_compiled_function.cpp * Restore reduce_function.cpp since that is where the All/Any implementations ended up residing * Add reduce_function.cpp back into CMakeLists.txt * Remove #include of deleted reduce.hpp * Re-remove AnyAllReplacement from GPU passes * Remove deleted #includes from gpu_internal_function.cpp * Remove git conflict stuff (whoops) * Add newline at EOF, per review comment * Address flake8 complaint about unused import
-