1. 02 Jun, 2019 4 commits
  2. 31 May, 2019 1 commit
    • Sang Ik Lee's avatar
      Cleanup how compile flags are set and used by nGraph and external projects. (#2942) · 08dcd01b
      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.
      08dcd01b
  3. 30 May, 2019 1 commit
    • Jayaram Bobba's avatar
      Initial implementation of implicit broadcasting for eltwise ops (#2936) · 0caefe7d
      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
      0caefe7d
  4. 29 May, 2019 3 commits
    • Adam Rogowiec's avatar
      [Fused] FakeQuantize operation. (#2928) · 36422810
      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)
      36422810
    • gcwenger's avatar
    • Tomasz Dołbniak's avatar
      [FusedOps] ShuffleChannels (#2927) · 1fdf14ae
      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.
      1fdf14ae
  5. 25 May, 2019 1 commit
  6. 24 May, 2019 5 commits
    • Jayaram Bobba's avatar
      CTCGreedyDecoder layer op (#2965) · 513f8de6
      Jayaram Bobba authored
      * Added CTCGreedyDecoder layer op
      
      * Added comment on seq_len validation checks
      513f8de6
    • Robert Kimball's avatar
      Add save/load API to runtime (#2955) · 7ad4c0ab
      Robert Kimball authored
      * API defined
      
      * add unit test for save/load with INTERPRETER
      
      * Update per review comments
      
      * fix compiler error
      7ad4c0ab
    • Jayaram Bobba's avatar
      Added accessor methods for layer op attributes (#2964) · 4ec94acc
      Jayaram Bobba authored
      * Added accessor methods for layer op attributes
      
      * style fixes and addressed PR feedback
      4ec94acc
    • Michał Karzyński's avatar
      [ONNX] Unit tests for QLinearMatMul (#2706) · 9560c1fa
      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
      9560c1fa
    • Michał Karzyński's avatar
      [Fused] LeakyRelu op (#2919) · 5650e913
      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
      5650e913
  7. 23 May, 2019 2 commits
  8. 22 May, 2019 3 commits
    • Louis Feng's avatar
      Change FusionType to enum class and use EnumMask (#2957) · a65b5155
      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.
      a65b5155
    • Adam Procter's avatar
      Add more infrastructure for specialization of cloned graphs (#2949) · da1cacde
      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
      da1cacde
    • Tomasz Dołbniak's avatar
      [FusedOps] Split (#2951) · ba546455
      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
      ba546455
  9. 21 May, 2019 2 commits
    • Amy Zhuang's avatar
      Create mkldnn primitives at first iteration for codegen - part2 (#2859) · 9335e41c
      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.
      9335e41c
    • Robert Kimball's avatar
      Add support for move semantics to AlignedBuffer (#2956) · 30f3634e
      Robert Kimball authored
      * Add move operations to AlignedBuffer
      
      * unit test
      30f3634e
  10. 17 May, 2019 5 commits
  11. 16 May, 2019 2 commits
  12. 15 May, 2019 4 commits
    • Louis Feng's avatar
      [Dynamic Shape] Added Pass Properties to Core Passes (#2935) · b2ca3e79
      Louis Feng authored
      * constexpr ctor for EnumMask
      
      * added pass properties to core passes.
      
      * added unit tests.
      
      * minor fixes.
      b2ca3e79
    • Adam Rogowiec's avatar
      [Fused Op] GRN (#2905) · 4fb4be5e
      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
      4fb4be5e
    • Scott Cyphers's avatar
      89e17047
    • Michał Karzyński's avatar
      [Fused] Squeeze op with dynamic input (#2896) · 092219ec
      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: 's avatarAdam 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
      092219ec
  13. 14 May, 2019 1 commit
    • Scott Cyphers's avatar
      Remove remaining osx compiler warnings (#2925) · 1cbc1517
      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
      1cbc1517
  14. 13 May, 2019 4 commits
  15. 11 May, 2019 2 commits