1. 22 11月, 2017 1 次提交
    • Q
      07/Label semantic roles (#5798) · 53bd51e3
      Qiao Longfei 提交于
      * init label_semantic_roles.py
      
      * add linear_chain_crf and test
      
      * complete test_linear_chain_crf
      
      * correct last layer of db_lstm
      
      * update optimizer and initializer
      
      * update param_initializer of embedding_layer
      
      * support load pre trained embedding
      
      * rm unused parameter
      
      * optimize code
      
      * clean code
      
      * fix test
      
      * add todo
      53bd51e3
  2. 21 11月, 2017 3 次提交
  3. 20 11月, 2017 1 次提交
  4. 15 11月, 2017 2 次提交
  5. 14 11月, 2017 4 次提交
    • Q
      Change framework to fluid (#5637) · 4adc8a7a
      Qiao Longfei 提交于
      * init commit
      
      * change some dir name
      4adc8a7a
    • Q
      Beam search decode op python (#5631) · 7345de3a
      Qiao Longfei 提交于
      * fix lod_tensor_array
      
      * init test beam search decode op
      
      * add test_beam_search_decode_op
      7345de3a
    • Y
      Conditional Block Forward (#5530) · 488320a7
      Yu Yang 提交于
      * Conditional Block Forward
      
      * Assign Operator.
      
      Out=X, when type in [LoDTensor/SelectedRows/LoDTensorArray]
      
      * Stash
      
      * Add Scope::Rename
      
      it is useful in gradient phase of an operator with block
      
      * ConditionalBlock Grad Done
      
      * Add comments
      
      * yapf format code
      488320a7
    • Q
      add split and merge lod tensor operator (#5537) · f07a226a
      QI JUN 提交于
      * add split lod tensor operator
      
      * add more test cast
      
      * clean code
      
      * add merge lod tensor operator
      
      * fix bug
      
      * clean code
      
      * add grad operator
      
      * make mask support GPU
      
      * add comments
      f07a226a
  6. 13 11月, 2017 2 次提交
  7. 10 11月, 2017 3 次提交
    • 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
    • K
      Adding documentation for every function in layers.py (#5529) · b5901a3a
      kavyasrinet 提交于
      * Adding operator assignment
      
      * Adding documentation to layers.py
      
      * Removing file from another PR
      b5901a3a
    • D
      "add elementwise_add more type" · b8f557f2
      Dong Zhihong 提交于
      b8f557f2
  8. 09 11月, 2017 4 次提交
    • Y
      Do not sum output if that output is not a gradient · c9fc7ba9
      Yang Yu 提交于
      * increament is default inplace
      c9fc7ba9
    • F
      Add grad for lodtensor array ops (#5461) · b698d19b
      fengjiayi 提交于
      * 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
      
      * Add grad for ops
      
      * Debug
      
      * Fix a bug
      
      * fix a bug
      
      * fix a bug
      b698d19b
    • Y
      Add `lod_array_length` operator · d24d8c20
      Yang Yu 提交于
      d24d8c20
    • Y
      Add increment op · 6d41bfb7
      Yang Yu 提交于
      6d41bfb7
  9. 08 11月, 2017 6 次提交
    • Y
      Static lstm sanity check (#5365) · 870650d8
      Yang Yang(Tony) 提交于
      * add fill_constant_batch_size_like_op to rnn h_boot
      
      * first commit
      
      * merge develop; fix conflict
      
      * update to main_program
      870650d8
    • Y
      Rename shrink_state -> shrink_rnn_memory · 01425309
      Yang Yu 提交于
      Follow comments
      01425309
    • Y
      Fix Unittest · b4dddb29
      Yang Yu 提交于
      b4dddb29
    • C
      fix attr name · cdf5e871
      chengduoZH 提交于
      cdf5e871
    • 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
      Shrink State Operator · 2dd91dd5
      Yang Yu 提交于
      Used for shrink memories state in DyRNN. The height of state could
      be shrinked after running a step block.
      2dd91dd5
  10. 07 11月, 2017 3 次提交
    • 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
    • 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
  11. 06 11月, 2017 2 次提交
  12. 05 11月, 2017 1 次提交
  13. 04 11月, 2017 2 次提交
    • Q
      Add acc test to image classification (#5336) · 906e2565
      Qiao Longfei 提交于
      * add acc layer
      * memory log level change from 3 to 10
      * use gaussian random to init conv parameters
      * use initializer
      * fix import
      * batch_norm use helper to create persistable var
      * refine code
      * train only 2 batches for test
      * use g_program and g_init_program
      * use XavierInitializer to init fc parameter
      906e2565
    • 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
  14. 03 11月, 2017 1 次提交
    • Y
      Fix bug in lookup_table_op & layers (#5298) · 4b9a2c44
      Yu Yang 提交于
      * Fix bug in lookup_table_op & layers
      
      * Missing Act in layers
      
      * Should += in CPU
      
      * Remove check in python
      
      * Fix bug in sequence_conv_pool()
      
      * Fix a bug in test_recommender_system.py
      
      * Just skip test_evaluator
      4b9a2c44
  15. 02 11月, 2017 3 次提交
    • 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
    • D
      "add book recommender_system testing" (#5143) · 69011c18
      dzhwinter 提交于
      * "add sequence conv layer"
      
      * "add book recommender_system testing"
      
      * "add training loop"
      
      * "add sequence layer"
      
      * "add recommender system training data"
      
      * "fix conv2d layer bug"
      
      * add sequence_conv_pool
      
      * "fix input is Null"
      
      * add networks
      
      * "fix based comment"
      
      * "add sum op layer"
      
      * "merge layers"
      
      * Update layers.py
      
      * "fix input is NULL bug"
      
      * "debug embedding table"
      
      * "modify layers.py"
      
      * "fix pool interface"
      
      * "add export type to layers"
      
      * "fix based on comment"
      
      * "need lod info support in all operator"
      
      * "remove accuracy layer"
      
      * "tuning learning rate"
      
      * "add sparse test"
      
      * "add gpu test"
      
      * Update test_recommender_system.py
      69011c18
    • F
      Fix a bug in sequence_pool layer (#5290) · 1f11f773
      fengjiayi 提交于
      * Fix bug
      
      * update
      1f11f773
  16. 01 11月, 2017 2 次提交