1. 05 2月, 2018 1 次提交
  2. 02 2月, 2018 1 次提交
  3. 23 1月, 2018 1 次提交
    • Q
      Memory optimization on Dynamic RNN (#7599) · d76fcb6f
      QI JUN 提交于
      * limit variable type to lod tensor in memory optimization transpiler
      
      * refine policy
      
      * support while operator
      
      * fix random seed and training data order
      
      * refine get_cfgs method to support multi while operators
      
      * refine codes
      d76fcb6f
  4. 22 1月, 2018 1 次提交
  5. 08 1月, 2018 2 次提交
  6. 03 1月, 2018 1 次提交
  7. 28 12月, 2017 1 次提交
  8. 22 12月, 2017 1 次提交
  9. 21 12月, 2017 1 次提交
  10. 20 12月, 2017 1 次提交
  11. 11 12月, 2017 1 次提交
    • Y
      Fix gcc4.9 (#6442) · 95924686
      Yiqun Liu 提交于
      * Fix compiling error of gcc4.9.
      
      * Refine the check of cxx compiler flags in api/CMakeLists.txt.
      95924686
  12. 08 12月, 2017 1 次提交
    • Q
      Nmt decoder train (#6367) · 36fcc95c
      Qiao Longfei 提交于
      * init decoder_trainer
      
      * can run
      
      * fix lod
      
      * add sharelod to cross_entropy_grad_op
      
      * add avg_cost to fetch list
      
      * modify learning rate
      
      * can run
      
      * optimie code
      
      * add early exit
      
      * fix print
      
      * revert test_understand_sentiment_conv.py
      
      * add act to fc
      36fcc95c
  13. 04 12月, 2017 1 次提交
    • Y
      While op forward for sentimental analysis (#6140) · d5e32794
      Yu Yang 提交于
      * Add DataFeeder
      
      A v2 API like data feeder for book demos.
      We can feed data directly from reader.
      
      * Fix CI
      
      * Add an unittest for while/rnn op forward
      
      * Add unittest for raw while op backward
      
      * Fix CI
      d5e32794
  14. 30 11月, 2017 1 次提交
  15. 16 11月, 2017 1 次提交
    • Y
      feature/while_grad_op (#5554) · 18f0c40a
      Yang Yang(Tony) 提交于
      * first commit
      
      * Python API for while op
      
      * Python Unittest for simple while_op forward
      
      * fix out to be list
      
      * Fix UT
      
      * VarType
      
      * Fix several bugs
      
      * Fix bug
      
      * Fix bug
      
      * Fix Bug
      
      * Fix bug
      
      * Fix unittest
      
      * Remove debug log
      
      * Add comments
      
      * add PADDLE_ENFORCE
      
      * while_grad_op first commit
      
      * Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs
      
      * not sure how to setdim of while outputs
      
      * push for test
      
      * add executor vlog
      
      * fix bug of while_op cond
      
      * Several enhancement for code
      
      1. Backward always infer shape & infer var type. Since there are RENAME
      variables will be created when creating backward operator, but their
      shape & var types are not inferenced.
      2. Never use SomePtr-> directly, since every pointer could be nullptr if
      it is a function return value. Add `detail::Ref` to cast pointer to
      reference safely.
      3. Enhance error message for backward.
      4. Infer data type of variable in `sum` and `tensor_write`
      
      * Fix bugs of while_op gradient
      
      * Fix several bugs of while_op grad
      
      * fix fill zeros like
      
      * fix 3 >= 3
      
      * fix place holder shouldn't be null
      
      * fail on sum op
      
      * Fix SumOp of TensorList
      
      * clean up
      
      * pass while test
      
      * fix test_array_write_read
      
      * pass sum op
      
      * Support int/int64 for fill_constant_batch_size_like
      
      * Fix compile
      18f0c40a
  16. 10 11月, 2017 1 次提交
    • Y
      feature/while_op (#5502) · 40367d18
      Yang Yang(Tony) 提交于
      * first commit
      
      * Python API for while op
      
      * Python Unittest for simple while_op forward
      
      * fix out to be list
      
      * Fix UT
      
      * VarType
      
      * Fix several bugs
      
      * Fix bug
      
      * Fix bug
      
      * Fix Bug
      
      * Fix bug
      
      * Fix unittest
      
      * Remove debug log
      
      * Add comments
      
      * add PADDLE_ENFORCE
      
      * while_grad_op first commit
      
      * Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs
      
      * refine code
      
      * fix unittest bug
      40367d18
  17. 07 11月, 2017 2 次提交
    • Y
      Add unittest, backward of array read/write op (#5409) · 6cde889b
      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
      
      * Add unittest, Gradient of array read/write
      
      * Follow comments
      6cde889b
    • 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
  18. 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
  19. 01 11月, 2017 2 次提交
    • Y
      Feature/executor use program bind (#5196) · 1363ddb6
      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.
      1363ddb6
    • Q
      add shareLod (#5259) · ee11f006
      Qiao Longfei 提交于
      * add shareLod
      
      * fix sequence_conv grad infershape
      ee11f006
  20. 29 10月, 2017 1 次提交
  21. 27 10月, 2017 3 次提交
    • Y
      Make InferShape as a field in OpInfo (#5139) · b44f4ccb
      Yu Yang 提交于
      * Op developer can add `InferShape` to any operator
      b44f4ccb
    • Y
      Gradient check use graph (#5027) · be00b0c4
      Yu Yang 提交于
      * Simplize Gradient Check
      
      * Stash
      
      * Extract apply_backward_pass to backward.py
      
      Rename apply_backward_pass to append_backward_ops
      
      * Use graph API to check gradient
      
      * Fix ci
      
      * Fix CI
      
      * Fix backward for double precision
      
      * Stash
      
      * Fix CI
      
      * Fix ci
      
      * Ignore GRU test
      
      * Ignore xe op
      
      * Fix CI
      
      * Fix softmax with xe gradient
      
      The correct equation should be IG = OG * (d_softmax_with_xe())
      
      * Fix typo
      
      * Fix merge error
      
      * Disable LRN
      be00b0c4
    • F
      Add functions of restoring ProgramDescBind from ProgramDesc (#5109) · aa379ccb
      fengjiayi 提交于
      * compelete restoring program_bind from program_desc
      
      * Fix bugs
      
      * fix compile errors
      
      * fix errors and add unit tests
      
      * rename some vars
      
      * Follow comments
      aa379ccb
  22. 17 10月, 2017 1 次提交
    • Y
      Rewrite feed/fetch op (#4815) · 4df6cf4d
      Yu Yang 提交于
      * Feed/Fetch op just plain operator, not a OpWithKernel
      * Do not register OpInfoMaker since Feed/Fetch will never be
        configured by users
      * Feed/Fetch op has empty gradient
      * Feed/Fetch op do not hard code `feed_variable`, `fetch_variable` as
        its input and output, make it as a plain Operator input/output
      4df6cf4d
  23. 14 10月, 2017 2 次提交
  24. 12 10月, 2017 1 次提交
  25. 11 10月, 2017 2 次提交
  26. 10 10月, 2017 3 次提交
    • Y
      Add comment · cb2ef7d9
      Yu Yang 提交于
      cb2ef7d9
    • F
      Fix bug · 0e1f21a5
      fengjiayi 提交于
      0e1f21a5
    • Y
      Polish CompileTime InferShape · d350cdbc
      Yu Yang 提交于
      1. InferShape should be a method for `OpDescBind` not `Operator`, since
        `OpDescBind` is a compile-time concept.
      2. Pre-create operators and store them into a map. Make InferShape
         faster
      d350cdbc
  27. 04 10月, 2017 4 次提交
  28. 03 10月, 2017 1 次提交