1. 21 11月, 2017 2 次提交
    • Y
      IfElse Python API (#5624) · f2ca07e8
      Yu Yang 提交于
      * Forward of raw if-else op
      
      * add backward part of mnist if-else unittest
      
      * refine fill_constant_batch_size_like layer
      
      * add draft ifelse operator
      
      * Complete IfElse Op
      
      * add unittest of ifelse api
      
      * merge baidu/develop
      
      * Stash
      
      * Merge develop branch
      
      * Support int/int64 for fill_constant_batch_size_like
      f2ca07e8
    • A
      Improve the initializer Interface for fc, sequence_conv and conv2d layers (#5760) · e930f496
      Abhinav Arora 提交于
      * Improve the initializer Interface for fc, sequence_conv and conv2d layers
      * Fix some typos in python code
      * Fix CI
      e930f496
  2. 20 11月, 2017 3 次提交
  3. 19 11月, 2017 1 次提交
  4. 18 11月, 2017 3 次提交
  5. 17 11月, 2017 4 次提交
  6. 16 11月, 2017 3 次提交
    • 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
    • Q
      mv test_beam_search_op.py to fluid (#5687) · a76b6144
      Qiao Longfei 提交于
      a76b6144
    • Q
      support adagrad sparse update (#5272) · d7bf372d
      QI JUN 提交于
      * adam sparse support
      
      * fix gpu build error
      
      * fix ci
      
      * fix ci
      
      * fix adagrad sparse update bug
      
      * fix gpu build error
      d7bf372d
  7. 15 11月, 2017 8 次提交
  8. 14 11月, 2017 2 次提交