1. 09 11月, 2017 1 次提交
    • 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
  2. 08 11月, 2017 9 次提交
    • 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
    • T
      fix accuracy cudamemset · 6308ccc2
      typhoonzero 提交于
      6308ccc2
    • 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
    • Y
      Temporary disable accurary_op test (#5451) · d9e5eba0
      Yu Yang 提交于
      d9e5eba0
    • Y
      Compare Operator (#5325) · f74fb790
      Yu Yang 提交于
      * Compare Operator
      
      * Follow comments
      f74fb790
  3. 07 11月, 2017 5 次提交
    • T
      update · fc4d4b88
      typhoonzero 提交于
      fc4d4b88
    • D
      Enhance unit testing. · d94c936b
      dangqingqing 提交于
      1. user can disable peephole connections.
      2. not calculate some gradients.
      d94c936b
    • 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
  4. 06 11月, 2017 7 次提交
  5. 05 11月, 2017 2 次提交
  6. 04 11月, 2017 3 次提交
    • C
      Add the crf_decoding operator. (#5352) · 45eabb8c
      Cao Ying 提交于
      * proj init.
      
      * add unittest and implementation.
      45eabb8c
    • 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
  7. 03 11月, 2017 6 次提交
  8. 02 11月, 2017 7 次提交
    • D
      "add net drawer for visualizing the graph" (#5292) · e0c3a668
      dzhwinter 提交于
      * "add net drawer for visualizing the graph"
      
      * "fix "
      
      * "add dep"
      e0c3a668
    • W
      add cliy_by_norm op · 65451b5c
      wwhu 提交于
      65451b5c
    • 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
    • Q
      Optimizer use init program (#5275) · f48159ad
      Qiao Longfei 提交于
      * optimizer use init_program
      
      * create persistable variable
      
      * add create_persistable_var to block
      
      * optimizer use create_persistable_var
      
      * fix prefix
      
      * move create_global_persistable_var from Block to LayerHelper
      
      * Polish Optimizer initialization code.
      
      * Using the LayerHelper to create initialize operator and variables
      
      * add_accumulator should use an independent data type
      
      * default use param data type for accumulator
      f48159ad
    • Y
      modify fill constant batch size like (#5222) · 90f4d5e9
      Yang Yang(Tony) 提交于
      90f4d5e9
    • evaluator_accumulate (#4828) · 08ca7267
      武毅 提交于
      08ca7267