• 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
fetch_op.cc 2.8 KB