1. 20 10月, 2017 3 次提交
    • Q
      add test_fit_a_line (#4936) · 9903e49f
      QI JUN 提交于
      * add test_fit_a_line
      
      * Update
      
      * fix persistable bug
      
      * fix elementwise add bug
      
      * set correct attr for bias op in fc layer
      
      * set correct attr for bias op in fc layer
      
      * Update
      
      1. Add init_program to hold initializers
      2. bug fix
      
      * add test_fit_a_line
      
      * fix persistable bug
      
      * fix elementwise add bug
      
      * fix type
      
      * add gitignore
      
      * Complete fit_a_line test
      
      * revert code
      
      * Clean up
      
      * Revert "revert code"
      
      This reverts commit eb1aa015.
      
      * Refine
      
      * Fix unit test
      9903e49f
    • F
      Test recognize_digits_conv (#4926) · 1f1be6c9
      fengjiayi 提交于
      * Init
      
      * unify layer names
      
      * Update
      
      * Add pool2d layer
      
      * Test recognize_digits_conv
      
      * Clean up
      1f1be6c9
    • Y
      Feature/py executor test (#4922) · 3db52783
      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
      
      * Expose get global scope
      
      * Make global scope not thread-safe
      
      1. It is no need to make global scope thread-safe, since it will be
      invoked in Python main thread.
      2. Do not free the global scope when C++ exit. Let the OS free memories,
      otherwise, we need to handle the destroy dependencies.
      
      See
      https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
      
      * Fix
      
      * Implementation of simple conv_2d layer
      
      * Stash
      
      * Remove private data members in OpRegister
      
      * Fix bugs
      
      * Stash
      
      * Expose FeedFetchList as VarType
      
      * 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
      
      * Working on executor
      
      * Stash
      
      * Add glog as dependencies of ops
      
      * Use VLOG to logging some information is helpful when we debug Paddle
      
      * Expose VarDesc::persistable to Python
      
      * Test executor
      
      * Complete unittest
      
      * Polish code
      
      * Fix merge error
      
      * Follow comment
      
      * Polish Python Code
      3db52783
  2. 19 10月, 2017 6 次提交
    • 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
    • Y
      Expose VarDesc::persistable to Python (#4911) · f6e1d959
      Yu Yang 提交于
      f6e1d959
    • F
      Fix several bugs in compile time backward and Protobuf desc (#4894) · a204fefe
      fengjiayi 提交于
      * 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
      
      * Correct implement BlockDesc destructor
      
      * Fix bugs
      
      * Fix unit test error
      
      * Follow comments
      a204fefe
    • Y
      Change ProgramDesc not a global variable (#4879) · e747623e
      Yu Yang 提交于
      * Change ProgramDesc not a global variable
      
      * Polish code style
      
      * Correct implement BlockDesc destructor
      
      * Unify program as parameter name
      e747623e
    • F
      implementation of simple conv2d layer (#4868) · efd009a0
      fengjiayi 提交于
      * 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
      
      * Remove debug code
      efd009a0
  3. 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
  4. 17 10月, 2017 1 次提交
    • Y
      Implement FC layer with helper (#4726) · 8e52b34a
      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
      8e52b34a
  5. 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
  6. 15 10月, 2017 3 次提交
  7. 14 10月, 2017 2 次提交
  8. 13 10月, 2017 1 次提交
  9. 12 10月, 2017 3 次提交
  10. 11 10月, 2017 8 次提交
  11. 10 10月, 2017 8 次提交