1. 08 1月, 2018 1 次提交
  2. 05 1月, 2018 1 次提交
    • D
      Feature/use cudnn (#7141) · 5593858d
      dzhwinter 提交于
      * "add c++ side kernel selection"
      
      * "add multiple kernel op test"
      
      * "kernel selection only support cudnn"
      
      * "better formatter"
      
      * "small fix with UseCPU"
      
      * "depends on change interface Get(Place, Library)"
      
      * "fix CI"
      
      * "fix python cudnn test"
      
      * "leave the register cudnn op to another PR"
      
      * "fix CI"
      
      * "use all kernel by default"
      
      * "fix CI"
      5593858d
  3. 27 12月, 2017 1 次提交
  4. 25 12月, 2017 1 次提交
    • Q
      Impl kernel hint (#6883) · af0c4c45
      Qiao Longfei 提交于
      * init kernel hint
      
      * fix typo
      
      * rm unused code
      
      * add include in op_kernel.h
      
      * restore op_kernel since it will be moved to op_kernel_type
      
      * change force_cpu to use_cpu
      
      * fix compilation
      af0c4c45
  5. 21 12月, 2017 2 次提交
  6. 19 12月, 2017 4 次提交
  7. 15 12月, 2017 1 次提交
  8. 12 12月, 2017 1 次提交
  9. 11 12月, 2017 1 次提交
  10. 07 12月, 2017 1 次提交
  11. 06 12月, 2017 1 次提交
  12. 05 12月, 2017 2 次提交
  13. 30 11月, 2017 1 次提交
    • Y
      Feature/switch program (#5932) · ac596a39
      Yu Yang 提交于
      * Unify fluid submodules to fluid module
      
      Change books just use `import fluid`, not submodules
      
      * Remove g_main_program/g_startup_program
      
      Use default_main_program/default_startup_program instead
      
      * Typo
      
      * Add API for switch default program
      
      * Two functions: switch_main_program/switch_startup_program
      * A guard: program_guard. Users can use the `with` statement change
        default programs
      * Change unittests in `test_layers`
      
      * Fix CI
      
      * Fix CI
      
      * Fix CI
      ac596a39
  14. 28 11月, 2017 1 次提交
    • Y
      Feature/remove g program (#5930) · 0aceeee1
      Yu Yang 提交于
      * Unify fluid submodules to fluid module
      
      Change books just use `import fluid`, not submodules
      
      * Remove g_main_program/g_startup_program
      
      Use default_main_program/default_startup_program instead
      
      * Typo
      
      * Fix CI
      0aceeee1
  15. 27 11月, 2017 2 次提交
    • Y
      Restore the param infos in Program.clone() (#5873) · d89ff5b6
      Yu Yang 提交于
      * Restore the param infos in Program.clone()
      
      The Program.clone only clone the variables and ops
      in the program into a new program. However, the
      information of Parameter is not clone.
      
      So we need restore the information of Parameters.
      
      Fix #5871
      
      * Follow comments
      
      * Fix CI
      
      * Fix CI
      
      * Fix CI
      d89ff5b6
    • Y
      Unify fluid submodules to fluid module (#5924) · 0ac8c74e
      Yu Yang 提交于
      Change books just use `import fluid`, not submodules
      0ac8c74e
  16. 24 11月, 2017 2 次提交
  17. 21 11月, 2017 1 次提交
  18. 17 11月, 2017 1 次提交
  19. 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
  20. 15 11月, 2017 1 次提交
  21. 14 11月, 2017 2 次提交
    • Q
      Change framework to fluid (#5637) · 4adc8a7a
      Qiao Longfei 提交于
      * init commit
      
      * change some dir name
      4adc8a7a
    • 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
  22. 10 11月, 2017 2 次提交
    • 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
    • D
      "add elementwise_add more type" · b8f557f2
      Dong Zhihong 提交于
      b8f557f2
  23. 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
  24. 06 11月, 2017 1 次提交
  25. 05 11月, 2017 1 次提交
  26. 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
  27. 03 11月, 2017 1 次提交
  28. 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
    • 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
      first commit (#5286) · 0885de47
      Yang Yang(Tony) 提交于
      0885de47
  29. 01 11月, 2017 1 次提交