1. 13 11月, 2017 1 次提交
    • Q
      BeamSearchDecodeOp (#5498) · a4106278
      Qiao Longfei 提交于
      * init trieconcat_op
      
      * add basic implementation
      
      * add test
      
      * add more test
      
      * update unit test
      
      * add PackAllSteps test
      
      * fix PackAllSteps
      
      * all test passed
      
      * clean code
      
      * remove state inside helper
      
      * rename prob to score
      
      * optimize RemoveFromEnd
      
      * use deconstructor to delete BeamNode recursively
      
      * optimize interface
      
      * add comment to interface
      
      * optimizer data structure
      
      * use template to define the type of score
      
      * use template parameter for BeamHelper
      
      * change father to parent
      
      * rename TrieConcat to BeamSearchOutConcat
      
      * use LoDTensorArray
      
      * rename BeamSearchOutConcat to BeamSearchDecode
      
      * refine code
      
      * remain all candidate sentence in beam_search_decode_op, do not consider endid
      
      * use unique_ptr
      
      * fix compare bug
      
      * fix lod compile problem
      a4106278
  2. 08 11月, 2017 3 次提交
    • Y
      Feature/rnn to array to lod tensor (#5411) · f72729d4
      Yu Yang 提交于
      * Add LoDRankTable
      
      LoD Rank Table stores the `level` of `lod` which is ordered by sequence
      length in descending order. It is useful when implement dynamic RNN and
      is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
      RNN slice output operators.
      
      * Add skeleton for array_to_lod_tensor and lod_tensor_to_array
      
      * Add VarType::LoDTensorArray
      
      * Add PyBind of LoDTensorArray
      
      * Add InferVarType
      
      * Add first unittest
      
      * Add ut
      
      * Add unittest
      
      * Add unittest
      
      * Add unittests
      
      * update
      
      * init
      
      * add infershape for lod_tensor_to_array_op
      
      * compelete array_to_lod_tensor_op
      
      * copy data
      
      * clean code
      
      * clean code
      
      * Fix unittest data
      
      * fix bugs
      
      * fix compile error
      
      * Refine TensorToArrayOp
      
      * refactor array_to_lod_tensor
      
      * Unittest
      
      * fix bugs
      
      * Fix unittest
      
      * Fix unittest
      
      * debug
      
      * Debug
      
      * Fix unittest
      
      * clean code
      
      * refactor
      
      * use ostream
      
      * update test
      
      * fix gpu build error
      
      * make gpu test pass
      f72729d4
    • Y
      Add gtest for drnn · db3b49fe
      Yu Yang 提交于
      db3b49fe
    • Y
      Compare Operator (#5325) · f74fb790
      Yu Yang 提交于
      * Compare Operator
      
      * Follow comments
      f74fb790
  3. 07 11月, 2017 1 次提交
    • Y
      ReadFromArray/WriteToArray op (#5407) · c9b57dcc
      Yu Yang 提交于
      * Use stable_sort in lod_rank_table
      
      It is easy to debug and test when use `stable_sort`and the time
      complexity is not changed.
      
      * Add LoDTensorArray
      
      * Stash
      
      * Better debug message for IsInitialized
      
      * Stash
      
      * Better debug message for IsInitialized
      
      * Complete array read/write op unittests
      c9b57dcc
  4. 04 11月, 2017 1 次提交
    • Y
      Add LoDRankTable (#5349) · 74849158
      Yu Yang 提交于
      * Add LoDRankTable
      
      LoD Rank Table stores the `level` of `lod` which is ordered by sequence
      length in descending order. It is useful when implement dynamic RNN and
      is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
      RNN slice output operators.
      
      * Add InferVarType
      74849158
  5. 03 11月, 2017 1 次提交
  6. 02 11月, 2017 1 次提交
    • Y
      Rewrite StaticRNN with Executor (#5224) · 0a32e74d
      Yu Yang 提交于
      * Init commit
      
      * Make executor use ProgramDescBind
      
      * Change Attribute from BlockDesc to BlockDescBind
      
      * Since we will get the program desc in RNN, just BlockDesc is not
        enough.
      
      * Add DeviceContext to Executor API
      
      * Rewrite RNN
      
      * Pass Python
      
      * AddBiasOp does not care num_flatten_dims
      
      * Stash
      
      * Fix MacOS Compile
      
      * Pass RNN forward
      
      * add python test
      
      * refactor test
      
      * Make compile pass
      
      * add gradopmaker
      
      * First draft done
      
      * Polish code
      
      * add grad op maker and grad infershape
      
      * Polish code
      
      * Fix backward.cc bug
      
      * Fix infershape
      
      * Rename function
      
      * add backward test
      
      * simplify recurrent test
      
      * Update
      
      * Pass unittest
      
      * Add comments & refine test
      
      * Add comments
      
      * refactor test
      
      * Complete Unittest
      
      * fix StepScopes enforce
      
      * Remove unused unittest
      
      * no type error
      
      * Update
      
      * Make RNN Pass unittest
      0a32e74d
  7. 31 10月, 2017 1 次提交
  8. 30 10月, 2017 1 次提交
  9. 27 10月, 2017 2 次提交
    • C
      write together · 51113cfe
      chengduoZH 提交于
      51113cfe
    • Q
      add sparse support for sum op (#5093) · 7f8574c0
      QI JUN 提交于
      * add sparse support for sum op
      
      * typo fix
      
      * fix gpu build error
      
      * fix unittest error
      
      * typo fix
      
      * infer var type and shape in op_test
      
      * follow comments
      
      * fix build error
      
      * bypass some unittests depend on NetOp
      7f8574c0
  10. 26 10月, 2017 6 次提交
  11. 25 10月, 2017 2 次提交
    • D
      "Serialize LoDTensor, Save/Restore model" (#4602) · fd2eb550
      dzhwinter 提交于
      * "add model format design doc"
      
      * "add restore function"
      
      * "add parse protobuf"
      
      * "move necessary information to saver.proto"
      
      * "format code"
      
      * "add gpu option"
      
      * "add lod info"
      
      * "add saveop python test wrapper"
      
      * "checkpoint reuse save operator"
      
      * "rewrite model format design doc"
      
      * "async support needed"
      
      * "fix run once"
      
      * "fix doc based on comments"
      
      * "refine based on comments"
      
      * "fix based comments"
      
      * "remove persistable flag from framework.proto"
      
      * "add IndicateDataType to restore op"
      
      * "add save test"
      
      * "modify save restore code"
      
      * "modified the restore logic"
      
      * rm checkpoint_op.cc
      
      * rm test_checkpoint_op.py
      
      * "get inputs outputs name from execution context"
      
      * Saving each variable to a independent file
      
      * Fix bugs
      
      * Rewrite save_restore_op_test with new Python framework
      
      * Move `SaveOp` and `RestoreOp` from OpWithKernel to OpBase
      
      * Refine unit test of SaveOp and RestoreOp
      
      * fix compile errorwq
      fd2eb550
    • D
      write nccl c++ test case · ef257e6d
      Dong Zhihong 提交于
      ef257e6d
  12. 24 10月, 2017 2 次提交
  13. 23 10月, 2017 2 次提交
  14. 20 10月, 2017 1 次提交
  15. 19 10月, 2017 1 次提交
  16. 18 10月, 2017 1 次提交
  17. 14 10月, 2017 1 次提交
  18. 13 10月, 2017 2 次提交
  19. 11 10月, 2017 3 次提交
  20. 10 10月, 2017 1 次提交
  21. 09 10月, 2017 1 次提交
  22. 03 10月, 2017 1 次提交
  23. 28 9月, 2017 2 次提交
  24. 27 9月, 2017 1 次提交
  25. 24 9月, 2017 1 次提交