1. 03 Jun, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/noarg1 (#2967) · a073c39e
      Scott Cyphers authored
      * Support for no-arg op construction
      
      * Add a-ops.
      
      * Two const init variations to try to solve windows link error
      
      * Try export for windows
      
      * Create outputs as needed, test
      
      * Remove attribute helpers
      
      * another windows try
      
      * windows
      
      * windows
      
      * Partial node cleanup
      
      * Review comments
      Node destruction that doesn't blow out the stack on deep graphs
      
      * Review comments
      
      * Update src/ngraph/node.hpp
      Co-Authored-By: 's avatarAdam Procter <adam.m.procter@intel.com>
      
      * Have huge test check that nodes were deleted
      
      * Switch constructors to use Output instead of Node
      
      * Review comments
      
      * Add some comments
      a073c39e
  2. 02 Jun, 2019 1 commit
  3. 31 May, 2019 5 commits
    • Robert Kimball's avatar
      Bob/hybrid multi (#3005) · e49dd589
      Robert Kimball authored
      * handle case where a node's output is connected multiple inputs of another node
      
      * fix creation of the FunctionCall to have the correct outputs
      
      * fix per review comment
      e49dd589
    • 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
    • Chris Sullivan's avatar
      b520e839
    • Rob Earhart's avatar
      e3330b47
    • Sang Ik Lee's avatar
      Remove unused .gitmodule (#2997) · e4c5aa8f
      Sang Ik Lee authored
      e4c5aa8f
  4. 30 May, 2019 2 commits
  5. 29 May, 2019 7 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
    • Ilya Churaev's avatar
    • Adam Rogowiec's avatar
      Move reshape functions from utils to builder. (#2984) · db34286c
      Adam Rogowiec authored
      * Move reshape from utils to builder.
      
      * Add aliases to functions in old place and describe changes.
      db34286c
    • gcwenger's avatar
      c06bf6e1
    • Robert Kimball's avatar
      fix broken doc strings (#2981) · 445c8158
      Robert Kimball authored
      445c8158
    • 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
    • Dmitry Yershov's avatar
      Switch to clDNN version with conformance fix for 3 ONNX models (DenseNet-121,… · 7d4bdab7
      Dmitry Yershov authored
      Switch to clDNN version with conformance fix for 3 ONNX models (DenseNet-121, Inception-v2, ResNet-50) (#2982)
      
      7d4bdab7
  6. 28 May, 2019 2 commits
  7. 25 May, 2019 1 commit
  8. 24 May, 2019 10 commits
  9. 23 May, 2019 6 commits
  10. 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
  11. 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