1. 19 12月, 2017 1 次提交
  2. 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
  3. 27 11月, 2017 1 次提交
    • 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
  4. 18 11月, 2017 1 次提交
  5. 14 11月, 2017 1 次提交
  6. 05 11月, 2017 1 次提交
  7. 28 10月, 2017 1 次提交
    • F
      Python API for inference model saving/load (#5020) · 6783dcee
      fengjiayi 提交于
      * Add `dump_to_file()` for ProgrameDescBind in pybind
      
      * Update
      
      * Add utility.py
      
      * typo
      
      * Fix bugs
      
      * Move add_feed/fetch_components to untility.py
      
      * Compelete dump
      
      * Follow comments
      
      * Change output of Prune() from inference to pointer
      
      * Expose Prune() to Python
      
      * Compelete save/load API of inference model
      
      * Fix errors
      
      * Debuging
      
      * Compelete unit tests
      
      * follow comments
      6783dcee
  8. 27 10月, 2017 1 次提交
  9. 19 10月, 2017 2 次提交
    • Q
      remove Program.instance (#4915) · d253df74
      Qiao Longfei 提交于
      * remove Program.instance
      
      * fix test_program.py
      d253df74
    • Y
      Copy Constructor for ProgramDesc (#4895) · 47f773dd
      Yu Yang 提交于
      * Implement FC layer with helper
      
      * Update LayerHelper
      
      * Add debug string for Python ProtoBuf
      
      and Rename `Sync` to `Flush`
      
      * Add check of ProtoBuf initialization
      
      * Layer wrapper for FC
      
      * Fix unittest
      
      * Fix CI
      
      * Add code generator
      
      * AttributeChecker Better error log and speicalize bool
      
      Since lots of types can be cast to bool
      
      * Complete mlp, fit_a_line
      
      * Implementation of simple conv_2d layer
      
      * Fix bugs
      
      * Change ProgramDesc not a global variable
      
      * Polish code style
      
      * Stash
      
      * Correct implement BlockDesc destructor
      
      * Correct implement BlockDesc destructor
      
      * Unify program as parameter name
      
      * Fix bugs
      
      * Add unittest
      
      * Fix unit test error
      
      * Remove unused functions
      
      * Add clone for Python Program
      
      * Compare OpDescBind directly
      47f773dd
  10. 18 10月, 2017 1 次提交
    • Q
      Impl optimizer (#4734) · df0946eb
      Qiao Longfei 提交于
      * init parameter base class
      
      * optimize the Comments of optimizer
      
      * basic implimentation of optimizer
      
      * add test_optimizer
      
      * add no_grad_set to interface
      
      * update optimizer.py
      
      * python code can run
      
      * fix some problem
      
      * add sync_with_cpp to Python Program and Block
      
      * sync vars and ops in block from cpp
      
      * optimize code and add some comment
      
      * add more check for sync
      
      * update optimizer with return value of Backward
      
      * rm unused code
      
      * infer shape when create gradient vairiable
      
      * update test_optimizer
      
      * update test_program.py
      
      * update backward test
      
      * follow comment
      df0946eb
  11. 16 10月, 2017 1 次提交
    • Q
      Python cpp sync (#4816) · 88b9202c
      Qiao Longfei 提交于
      * add sync_with_cpp to Python Program and Block
      
      * sync vars and ops in block from cpp
      
      * optimize code and add some comment
      
      * add more check for sync
      88b9202c
  12. 15 10月, 2017 4 次提交
  13. 13 10月, 2017 1 次提交
  14. 11 10月, 2017 2 次提交
  15. 10 10月, 2017 1 次提交