1. 16 Apr, 2018 8 commits
  2. 13 Apr, 2018 7 commits
    • Robert Kimball's avatar
      Remove legacy Backend API (#848) · ec501913
      Robert Kimball authored
      * remove deprecated
      
      * remove all legacy Backend API usage
      
      remove deprecated files
      
      * pull in changes from master
      
      * fix GPU calls
      
      * disable tests in convolution generator
      
      * update per PR comments. Enable performance counter feature.
      
      * update per PR comments
      
      * fix build error
      
      * fix conditionally compiled test :(
      ec501913
    • Scott Cyphers's avatar
      BatchNorm documentation (#856) · 1e091f6f
      Scott Cyphers authored
      * BatchNorm documentation
      
      * Fix typo, install URL
      
      * Switch to desired BatchNorm
      1e091f6f
    • Nick Korovaiko's avatar
    • DawnStone's avatar
      added the reference OS marker to the image name defined in the contrib/docker/Makefile (#841) · 638f36ee
      DawnStone authored
      fixed variable settings in contrib/docker/make-dimage.sh script
      638f36ee
    • arogowie-intel's avatar
      [Py] Add python wrapper for nGraph Reduce operation. (#827) · c80a1076
      arogowie-intel authored
      * Add python wrapper for nGraph Reduce operation.
      
      - Add UT.
      
      * Refactoring.
      
      - Add UT case with default reduction on all axes.
      
      * Extend `reduce` operation signature to also accept `Function` object.
      
      - Add UT case.
      
      * Fix formatting errors.
      c80a1076
    • Robert Kimball's avatar
      e7cf2662
    • Chris Sullivan's avatar
      Add GPURuntimeContext and GPUPrimitiveEmitter to the gpu transformer (#837) · 026bede0
      Chris Sullivan authored
      * Begin prototype of cudnn_emitter.
      
      * Added GPURuntimeContext to gpu_external_function for passing through to JIT functions.
      
      * gpu_emitters now utilize gpu runtime context.
      
      * Moved cublas and cudnn handles into GPURuntimeContext pointer and out of callframe EntryPoint.
      
      * Added CUDNNEmitter, comparable to MKLDNNEmitter,
      which allows for cudnn kernels to be defined via
      lambda primitives that are emitted and
      subsequently called during graph execution.
      An example implementation is provided for op::Sum.
      
      * Added GPURuntimeContext to gpu_external_function for passing through to JIT functions.
      
      * gpu_emitters now utilize gpu runtime context.
      
      * Moved cublas and cudnn handles into GPURuntimeContext pointer and out of callframe EntryPoint.
      
      * GPURuntimeContext should be stored as unique_ptr in external function.
      
      * GPURuntimeContext should be stored as unique_ptr in external function.
      
      * Extract raw pointer from unique for cudnn_emitter.
      
      * Removing unrelated code from PR.
      
      * GPURuntimeContext needs to be a strict C interface in case
      the native compiler and clang are utilizing different glibc ABIs.
      Updated to reflect this.
      
      * Added cudnn::primitive typedef for better readability.
      
      * Moved allocation of CudaFunctionPool to external function
      so that it is available during gpu emission.
      
      * Fixed too-late initialization of cudart.
      
      * Fixed too-late initialization of cudart.
      
      * CUDNNEmitter moved into superset class GPUPrimitiveEmitter.
      The GPUPrimitiveEmitter handles the emission of all gpu primitives,
      including cudnn, cuda, and cublas. CUBLASEmitter support not yet included.
      
      * Added unordered_map for cacheing primitives in the gpu_emitter.
      
      * Added dtor to GPUPrimitiveEmitter to cleanup compiled functions.
      
      * Adding back a serialized model graph that was accidentally rem* Added a few additional helpers to use ngraph::row_major_strides.
      
      * added whitespace per @fengleitian's comment
      
      * added whitespace per @fengleitian's comment
      
      * Remove implicit type conversions from size_t to int.
      
      * Add op::MaxPool, op::MaxPoolBackprop and op::Pad to GPU transformer (#817)
      
      * Added pooling for 1 and 2dimensions. 1d uses a cuda kernel and 2d utilizes cudnn.
      Padding is not yet supported.
      
      * Normalized call signature on gpu emission for 1d max pool. Added a few comments.
      
      * Max pool backprop impl. inprogress. Amend this commit.
      
      * Max pool backprop implemented. Note that cuDNN
      requests the output tensor for the maxpool operation but it is not required for computation.
      
      * Formatting and invokation for maxpool changed.
      
      * Fixed too-late initialization of cudart.
      
      * Added padding kernel that is used with maxpool. Need to investigate remaining tests.
      
      * Changed dimensionality check to correctly
      determine if data is 1d or not.
      
      * Added 3d MaxPooling (forward), verified by forcing 2d case to use Nd pooling routines.
      
      * Added 3d MaxPooling (backward), verified by forcing 2d case to use Nd pooling routines.
      
      * Moved cudnn prologues for maxpool into ngraph runtime and out of primitive so
      that the only execution occuring on the JIT runtime is the evaluation of the op kernel.
      
      * Refactored forward and backward pooling into single CUDNNEmitter::build_pooling interface
      with a runtime switch to determine if the op is forward or backward propagation.
      
      * Cache preconstructed cudnn kernel for maxpool if it has already been constructed.
      
      * Forgot to add padding arrays back into cudnn kernel for MaxPool in the 2d case.
      
      * Fixed namespace issues and use join(...,'_')
      
      * Refactored 4d/Nd tensor descriptor builder into single function.
      
      * Changed conditionals and comments. Now throws if MaxPool on more than 3 spatial dimensions is requested.
      
      * Fixed forward declare for GPURuntimeContext (class -> struct).
      
      * Clang complains about missing braces on brace-initializer. Fixed implicit conversions.
      
      * Fixed implicit conversions (clang).
      
      * Reverting changes on autodiff test for maxpool. @Krovatkin will update later.
      026bede0
  3. 12 Apr, 2018 6 commits
    • Jaikrishnan Menon's avatar
      dfae57c1
    • Fenglei's avatar
      gpu slice (#843) · 041dd524
      Fenglei authored
      * add slice op, first version
      
      * change size to output size
      
      * fix bugs
      
      * working version
      
      * using exist function for join and strides
      
      * clang format
      
      * revert accidental change
      041dd524
    • Nick Korovaiko's avatar
      RecurrentGraphRewrite + tests (#833) · b14d5665
      Nick Korovaiko authored
      * add a getter for root node
      
      * recurrent graph rewrite
      
      * fix perms, rename match_root -> get_match_root
      
      * fix comp errors
      
      * make match_root return the topmost match; fix tests
      b14d5665
    • Fenglei's avatar
      gpu convolution support nd(n<4) (#824) · b9b7845c
      Fenglei authored
      * add convolution in progress
      
      * enable 1 test
      
      * convolution in progress
      
      * use filter descripter
      
      * filter discreptor bug fix
      
      * tensor format
      
      * add missed dimension calculator
      
      * forward convolution 4d without dilation and padding working
      
      * data dilation(deconvolution) and enable some test
      
      * add backprop convolution data and filter
      
      * backprop can compile
      
      * pass unit test, but still have problem on padding
      
      * 2d, symmtric padding, no data dilation works now
      
      * clean up code
      
      * extend gpu convolution to nd
      
      * fix some bugs
      
      * working version for upto 3d convolution, code format.
      
      * remove nunecessary changes
      
      * add restriction for data dilation and asymmetric padding
      
      * clang format
      
      * support upto 3D convolution for now
      
      * change comments to not implemented
      
      * change comments to not implemented
      
      * add quary for additional GPU workspace for convolution
      
      * clang format
      
      * code format
      
      * using row_major_strides
      
      * using join
      
      * fix bug for join
      
      * refactor dimension calculation
      b9b7845c
    • tsocha's avatar
      [Py] Enable ngraph-cpp ops in Python API (#820) · 9ffb5145
      tsocha authored
      * Enable BatchNorm op
      
      * Enable function call op
      
      * Enable get output element op
      9ffb5145
    • Jaikrishnan Menon's avatar
      CPU: Eliminate slices (#849) · eec19220
      Jaikrishnan Menon authored
      eec19220
  4. 10 Apr, 2018 6 commits
  5. 09 Apr, 2018 10 commits
  6. 08 Apr, 2018 1 commit
  7. 06 Apr, 2018 2 commits
    • Nick Korovaiko's avatar
      Support for Recurring Patterns (#782) · a8cd0e94
      Nick Korovaiko authored
      * initial support for recurring matching
      
      * fix a bug where patterns weren't populated w/ matched nodes; add recurrent tests
      
      * add a missing newline
      
      * address feedback
      
      * fix function comment
      a8cd0e94
    • arogowie-intel's avatar
      [Py] Python nGraph operations wrappers. (#821) · fa6c2a60
      arogowie-intel authored
      * Add/update Python wrappers for nGraph operations.
      
      - NotEqual, OneHot, Power, Sqrt, Relu, Sign, Sin, Sinh, Tan, Subtract, Select, Tanh, Sum, Reduce,
      Softmax, ReplaceSlice, Reverse
      - Add UT for Relu, Sign, Sin, Sinh, Sqrt, Tan, Tanh,
      
      * Add UT for cases when Cos and Sin are giving incorrect results.
      
      * Alphabetically sorted imports.
      
      * Small refactoring.
      
      - Update docstrings
      - Remove unnecesary auxiliary local variable.
      fa6c2a60