• 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
test_optimizer.py 13.8 KB