- 02 Jun, 2019 4 commits
-
-
Nagy Mostafa authored
MLIR Compile only supported ops
-
Diego Caballero authored
It introduces end-to-end support for sub-graphs with multiple nodes. It adds a test with a dot+add ops. Co-authored-by:
Diego Caballero <diego.caballero@intel.com> Co-authored-by:
Nagy Mostafa <nagy.mostafa@gmail.com>
-
Diego Caballero authored
It extends dot definition to be able to deal with operands that are not square tensors. It also fixes a bug in the lowerer related to that.
-
Diego Caballero authored
We want to use ComputedKernel for any target to delimit sub-graphs to be compiled and executed with MLIR.
-
- 31 May, 2019 1 commit
-
-
Sang Ik Lee authored
* Cleanup how compile flags set and used by nGraph and external projects. Set C++11 through CMake and pass it down to external projects. Prefer CMake variables such as CMAKE_POSITION_INDEPENDENT_CODE and CMAKE_CXX_STANDARD instead of explicitly setting compiler dependent flags. Create json compilation database for external projects. CMAKE_CXX_FLAGS is used as common global options for nGraph and external projects. add_compile_options() is used for local options for current and sub directories. add_definitions() is used for setting definitions for current and sub directories. Note: Global options are not passed down to some external projects. Note: mkl-dnn resets CMAKE_CXX_FLAGS internally. Note: TBB and MLSL are not CMake based. Noet: Eigen and json is header only library. * Fix error. * Fix error. (second attempt) * Cleanup code. * Allow check for undefined macro. * Try to fix cldnn issue. * Set type for CMake arguments. * Pass C++ standard to protobuf. * Pass C++ standard down to TBB. * Change how Clang specific flags are handled. * Fix error. * Workaround for compile error on Baidu's PDPD docker. * Fix windows build error.
-
- 30 May, 2019 1 commit
-
-
Jayaram Bobba authored
* Initial implementation of implicit broadcasting for eltwise ops. Only Add supported * Addressed PR feedback * cleanup * Rename Bcast to Broadcast * Autobroadcasting support for rest of elementwise ops * Serializer support for autobroadcast * Added missing autob serialization for Minimum * Added execution unit tests and more op types to implicit broadcast elimination * Addressed PR feedback * Fixes windows build issue * RVO optimization per PR feedback
-
- 29 May, 2019 3 commits
-
-
Adam Rogowiec authored
* Draft of FakeQuantize operation along with UTs. * Add FakeQuantize to implemented operators on IGPU. * Get back FakeQuantize op case to switch. * Fix compilation errors. * Skip test for INTERPRETER backend and disable type_prop tests. * Initial implementation covering the most basic case * Cleanup of fake_quantize_with_clip UT * Reformat the cpu unit tests manifest and unlock anothe fake quant UT * Handle the clipping case by subtracting input_low from quantization input * Clip the input data before quantization to avoid Selects * UT manifest fix * Obsolete comment removed * Code formatting * Broadcast input data for non-scalar in/out params * Code formatting * Enable the type prop tests for FakeQuantize * Dequant the data without using the Dequantize op (fixes an edge case)
-
gcwenger authored
-
Tomasz Dołbniak authored
* ShuffleChannels implementation * Validation of ShuffleChannels params * Implementation of ShuffleChannels decompose_op() * Formatting adjustments * Corrected implementation and validation of op params * Basic test of ShuffleChannels * Negative axis value test * Default params for the ShuffleChannels op * ShuffleChannels test with floats * ShuffleChannels validation unit tests * PR comments * Compilation error fix * PR feedback and cleanup * Code formatting adjustment * Negative axis value documentation * Docs update (PR feedback) * PR feedback: shape and axis validation * Modify axis semantics on shuffle op * Revert "PR feedback: shape and axis validation" This reverts commit 21b708e710b91da2a7e37a69c0da1f31c7743b47.
-
- 25 May, 2019 1 commit
-
-
Robert Kimball authored
* update a few files to build on windows * more fixes
-
- 24 May, 2019 5 commits
-
-
Jayaram Bobba authored
* Added CTCGreedyDecoder layer op * Added comment on seq_len validation checks
-
Robert Kimball authored
* API defined * add unit test for save/load with INTERPRETER * Update per review comments * fix compiler error
-
Jayaram Bobba authored
* Added accessor methods for layer op attributes * style fixes and addressed PR feedback
-
Michał Karzyński authored
* [ONNX] Unit test models for QLinearMatMul * [ONNX] Extended types support for NgraphTestCase * [ONNX] Move the value comparators to the NgraphTestCase class * Add test cases * Add shape checking * disable GPU tests
-
Michał Karzyński authored
* [Fused] LeakyRelu op * Add LeakyRelu to serializer * Add unit tests * Fix merge branch 'master' into mkarzyns/fused_leaky_relu * Change broadcasting rules to NumPy style * Remove std:: and ngraph:: prefixes * Rename CPU Runtime LeakyRelu to CPULeakyRelu * Style apply * Fix cpu_fusion.fuse_leaky_relu test * Use eigen's tanh in the fused sigmoid multiply kernel (#2946) * Merge branch 'master' into mkarzyns/fused_leaky_relu * Add LeakyRelu to Intel GPU backend op list * Add LeakyRelu to Intel GPU backend op list
-
- 23 May, 2019 2 commits
-
-
Amy Zhuang authored
* Move zero padded conv fusions from CPUFusion to CoreFusion. * Address PR feedback: move unit tests to core_fusion.
-
Robert Kimball authored
* update visualize tree file extenstions and output formats * fix runtime error
-
- 22 May, 2019 3 commits
-
-
Louis Feng authored
* constexpr ctor for EnumMask * added pass properties to core passes. * change fusion type to have better type safety. * refactor to use enum mask. * remove extra code. * added constants for FusionType backward compatibility. * spelling. * grammar fix.
-
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
-
Tomasz Dołbniak authored
* Split op skeleton * Two ways to construct a fused Split to be able to use it in onnx importer * refactor: move the util::split() helper functions to the core * Split's decompose_op() implementation using a helper function * Use fused Split in the onnx_importer * Code formatting * PR feedback * Split helpers moved to ngraph/builder * Basic UT - split a 1D tensor to 3 equal parts * UT: Split 2D tensor into variable length parts * Code formatting * Catch the proper type of exception in the onnx_importer split() * Initialize members in the correct order * Type prop tests for Split * Code formatting * PR feedback
-
- 21 May, 2019 2 commits
-
-
Amy Zhuang authored
* Create mkldnn primitives at first iteration for CODEGEN. OPs: add, lstm, and rnn. * OPs: batchnorm. * OPs: concat and lrn. Remove dead code. * Skip in place concat, relu, reshape, and slice when building node_primitive_string_deps_index map. * Change NGRAPH_ASSERT to NGRAPH_CHECK. * Address PR Feedback. * Create mkldnn primitives at first iteration for CODEGEN. OPs: convertlayout, relu, leakyrelu, boundedrelu, sigmoid, softmax, slice. * Fix bugs. * OPs: quantizedconcat. Check if there are descriptors before emitting code to read desc_file. * OPs: convolution backward. Use macro to write mkldnn memory dims to generated file. * OPs: MaxPoolWithIndices and MaxPoolWithIndicesBackprop. Add unit tests for MaxPoolWithIndices, MaxPoolWithIndicesBackprop, and MaxPoolBackprop. * Fix style error. * OPs: AvgPoolBackprop and MaxPoolBackprop. Add unit test for AvgPoolBackprop. * OPs: DeconvolutionBias. * OPs: Quantize and Dequantize. * OPs: QuantizedDot and QuantizedDotBias. * Use reference kernel for QuantizedConvolution for CODEGEN when mkldnn does not support the parameter types. Get scales for quantization ops in cpu_emitter. * Fix Windows build error: add CPU_BACKEND_API. * Use template for quantization ops. * OPs: QuantizedMatmul. Emit referece kernel for QuantizedDot in CODEGEN. * Remove QuantizedDot from get_scale_index. * Address PR feedback.
-
Robert Kimball authored
* Add move operations to AlignedBuffer * unit test
-
- 17 May, 2019 5 commits
-
-
Mohammad Mahbubuzzaman authored
-
Nishant Patel authored
* Add builders for QLinearMatmul for onnxruntime * Generic Dot * Change the onnx bridge and address PR feedback * Fix date * Fix CI failure * Change varibale filter to input1 * const & reference * update branch * Comment * Introduce QuantizedMatmul * change pattern * QDot tests passing * style * PR feedback * Fix pattern * style
-
Adam Procter authored
-
Tomasz Dołbniak authored
* SquaredDifference implementation * Broadcast input before using it * Simple test of SquaredDifference * SquaredDifference validation tests * Formatting adjustments * Docs correction * Exclude the unit test on iGPU * Keep the includes in a single group * Update intelgpu_backend.cpp * Update unit_test.manifest * UT for the broadcasting path
-
tsocha authored
* Add test for i32 gather * Add support for ints to Gather op * Move helper function to anonymous namespace * Add more types * Use static_cast instead of the old one * Style fix * Skip tests on GPU * Add more tests * Skip tests on gpu * Change bool to char
-
- 16 May, 2019 2 commits
-
-
Jayaram Bobba authored
* Supports more cases for Convolution Bias fusion and also removes redundant namespace qualifiers in core_fusion.cpp * added unit test * select all fusions
-
Michał Karzyński authored
-
- 15 May, 2019 4 commits
-
-
Louis Feng authored
* constexpr ctor for EnumMask * added pass properties to core passes. * added unit tests. * minor fixes.
-
Adam Rogowiec authored
* Extend lp-norm functions to take bias. * Move lp-norm utilities to nGraph core op/util. * Move norm files to builder directory. * Apply clang-format. * Sceleton for GRN operation. * Add GRN implementation. * Fix reshape utility function. * Address review comments. * Add using namespace std. * Review comments. * Few fixes in grn implementation. * Clang format. * Basic UT. * Fix expected data. * Add more UT and skip them on IGPU. * Review comments: const correctness and remove using namespace std statement. * Unblock GRN on IGPU. * Get back GRN op case to switch. * merge error
-
Scott Cyphers authored
-
Michał Karzyński authored
* Add fused Squeeze op * Use fused Squeeze op in ONNX importer * Update serializer * Add unit tests * Add type prop tests * Change Squeeze signature to accept a dynamic input for axes * Update src/ngraph/op/fused/squeeze.cpp Co-Authored-By:
Adam Rogowiec <adam.rogowiec@intel.com> * Code review comments * Fix failing unit test * Code review comments * Code review comments * style * Add op to iGPU backend * Add op to iGPU backend
-
- 14 May, 2019 1 commit
-
-
Scott Cyphers authored
* Fix clang compiler warnings * Remove unintended file. * style * Not part of PR * Another extra closure ref * More warnings from merges * Lambda arg was used * Remove remaining osx compiler warnings * style * Try to avoid compiler warning * Same for the other test
-
- 13 May, 2019 4 commits
-
-
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
-
Scott Cyphers authored
* Fix clang compiler warnings * Remove unintended file. * style * Not part of PR * Another extra closure ref * More warnings from merges * Lambda arg was used
-
tsocha authored
* Add ScaleShift operator * Add ScaleShift to serializer * Add UT for ScaleShift * Add type_prop tests for ScaleShift * Style-fix * Skip tests on Intel GPU * Review fix 1 * Style fix
-
Adam Procter authored
-
- 11 May, 2019 2 commits
-
-
Jayaram Bobba authored
-
Tomasz Dołbniak authored
* Dump the expected and actual values for NgraphTestCase * Adapt to changes in master * Some docs and API unification
-