• W
    [slim] Refine framework of slim and add filter pruning strategy (#16226) · 2e5831f0
    whs 提交于
    * First pr of paddle slim.
    1. Add framework of paddle slim
    2. Add filter pruning strategy
    test=develop
    
    * Rename unitest to tests.
    test=develop
    
    * Add prettytable into requirements.
    test=develop
    
    * Change in_nodes and out_nodes to odered dict.
    test=develop
    
    * Remove distillation.
    test=develop
    
    * Fix API.spec
    test=develop
    
    * Fix unitest.
    test=develop
    
    * Fix unitest in windows.
    test=develop
    
    * Fix unitest in windows.
    test=develop
    
    * Fix unitest.
    test=develop
    
    * Hide some functions.
    test=develop
    
    * Fix python import in python3.5
    test=develop
    
    * Fix compress pass.
    test=develop
    
    * Fix unitest of test_dist_ctr.
    test=develop
    
    * Enhence flops.
    
    * use os.path.join
    
    * Fix pickle for python3
    Fix log and comments.
    test=develop
    
    * 1. Remove feed_reader in compress pass
    2. Fix cache reader
    3. Rename CompressPass to Compressor
    4. Add comments for distiller optimizer
    5. Remove unused pruner currently
    6. Add some comments.
    7. Change API.spec
    test=develop
    
    * Fix pruning in python3.
    test=develop
    
    * Fix unitest in python3.
    test=develop
    
    * Fix format in python3.
    test=develop
    2e5831f0
prune_strategy.py 39.7 KB