• L
    [feature] prune program by feed and fetch_list automatically (#22474) · a62599a8
    Leo Chen 提交于
    * prune train program by fetch_list, test=develop
    
    * add unittest for prune, test=develop
    
    * fix pruned feed, test=develop
    
    * support ParallelExecutor and feed prune, test=develop
    
    * add comments, test=develop
    
    * update unittest, test=develop
    
    * update unittests, test=develop
    
    * remove debug code, test=develop
    
    * support cond in clone, test=develop
    
    * support cond in prune, test=develop
    
    * support multiple minimize, test=develop
    
    * support cache, test=develop
    
    * fix _copy_param_info_from, test=develop
    
    * support python2 str, test=develop
    
    * remove debug code, test=develop
    
    * fix bug of caching CompiledProgram, test=develop
    
    * fix multi_device issue, test=develop
    
    * tmp
    
    * support tuple in fetch_list and overriding use_prune, test=develop
    
    * dont use nonlocal in python2, test=develop
    
    * remove nonlocal, test=develop
    
    * code clean, test=develop
    
    * code clean, test=develop
    
    * feed list, test=develop
    
    * test adam, test=develop
    
    * follow comments, test=develop
    
    * reduce duplicate code, test=develop
    
    * update comments, test=develop
    a62599a8
test_prune.py 31.2 KB