Search.setIndex({docnames:["api_en/index_en","api_en/modules","api_en/paddleslim","api_en/paddleslim.analysis","api_en/paddleslim.common","api_en/paddleslim.core","api_en/paddleslim.dist","api_en/paddleslim.models","api_en/paddleslim.nas","api_en/paddleslim.nas.one_shot","api_en/paddleslim.pantheon","api_en/paddleslim.prune","api_en/paddleslim.quant","api_en/search_space_en","api_en/table_latency_en","index","index_en","install_en","intro_en","model_zoo_en","quick_start/distillation_tutorial_en","quick_start/index_en","quick_start/nas_tutorial_en","quick_start/pruning_tutorial_en","quick_start/quant_aware_tutorial_en","quick_start/quant_post_tutorial_en","tutorials/image_classification_sensitivity_analysis_tutorial_en","tutorials/index_en"],envversion:50,filenames:["api_en/index_en.rst","api_en/modules.rst","api_en/paddleslim.rst","api_en/paddleslim.analysis.rst","api_en/paddleslim.common.rst","api_en/paddleslim.core.rst","api_en/paddleslim.dist.rst","api_en/paddleslim.models.rst","api_en/paddleslim.nas.rst","api_en/paddleslim.nas.one_shot.rst","api_en/paddleslim.pantheon.rst","api_en/paddleslim.prune.rst","api_en/paddleslim.quant.rst","api_en/search_space_en.md","api_en/table_latency_en.md","index.rst","index_en.rst","install_en.md","intro_en.md","model_zoo_en.md","quick_start/distillation_tutorial_en.md","quick_start/index_en.rst","quick_start/nas_tutorial_en.md","quick_start/pruning_tutorial_en.md","quick_start/quant_aware_tutorial_en.md","quick_start/quant_post_tutorial_en.md","tutorials/image_classification_sensitivity_analysis_tutorial_en.md","tutorials/index_en.rst"],objects:{"":{paddleslim:[2,0,0,"-"]},"paddleslim.analysis":{LatencyEvaluator:[3,1,1,""],TableLatencyEvaluator:[3,1,1,""],flops:[3,0,0,"-"],latency:[3,0,0,"-"],model_size:[3,0,0,"-"]},"paddleslim.analysis.LatencyEvaluator":{latency:[3,2,1,""]},"paddleslim.analysis.TableLatencyEvaluator":{latency:[3,2,1,""]},"paddleslim.analysis.flops":{flops:[3,3,1,""]},"paddleslim.analysis.latency":{LatencyEvaluator:[3,1,1,""],TableLatencyEvaluator:[3,1,1,""]},"paddleslim.analysis.latency.LatencyEvaluator":{latency:[3,2,1,""]},"paddleslim.analysis.latency.TableLatencyEvaluator":{latency:[3,2,1,""]},"paddleslim.analysis.model_size":{model_size:[3,3,1,""]},"paddleslim.common":{ControllerClient:[4,1,1,""],ControllerServer:[4,1,1,""],EvolutionaryController:[4,1,1,""],SAController:[4,1,1,""],cached_reader:[4,0,0,"-"],controller:[4,0,0,"-"],controller_client:[4,0,0,"-"],controller_server:[4,0,0,"-"],get_logger:[4,3,1,""],lock:[4,0,0,"-"],log_helper:[4,0,0,"-"],sa_controller:[4,0,0,"-"],unlock:[4,3,1,""]},"paddleslim.common.ControllerClient":{next_tokens:[4,2,1,""],request_current_info:[4,2,1,""],update:[4,2,1,""]},"paddleslim.common.ControllerServer":{close:[4,2,1,""],ip:[4,2,1,""],port:[4,2,1,""],run:[4,2,1,""],start:[4,2,1,""]},"paddleslim.common.EvolutionaryController":{next_tokens:[4,2,1,""],reset:[4,2,1,""],update:[4,2,1,""]},"paddleslim.common.SAController":{best_tokens:[4,4,1,""],current_tokens:[4,4,1,""],max_reward:[4,4,1,""],next_tokens:[4,2,1,""],update:[4,2,1,""]},"paddleslim.common.cached_reader":{cached_reader:[4,3,1,""]},"paddleslim.common.controller":{EvolutionaryController:[4,1,1,""]},"paddleslim.common.controller.EvolutionaryController":{next_tokens:[4,2,1,""],reset:[4,2,1,""],update:[4,2,1,""]},"paddleslim.common.controller_client":{ControllerClient:[4,1,1,""]},"paddleslim.common.controller_client.ControllerClient":{next_tokens:[4,2,1,""],request_current_info:[4,2,1,""],update:[4,2,1,""]},"paddleslim.common.controller_server":{ControllerServer:[4,1,1,""]},"paddleslim.common.controller_server.ControllerServer":{close:[4,2,1,""],ip:[4,2,1,""],port:[4,2,1,""],run:[4,2,1,""],start:[4,2,1,""]},"paddleslim.common.lock":{lock:[4,3,1,""],unlock:[4,3,1,""]},"paddleslim.common.log_helper":{get_logger:[4,3,1,""]},"paddleslim.common.sa_controller":{SAController:[4,1,1,""]},"paddleslim.common.sa_controller.SAController":{best_tokens:[4,4,1,""],current_tokens:[4,4,1,""],max_reward:[4,4,1,""],next_tokens:[4,2,1,""],update:[4,2,1,""]},"paddleslim.core":{GraphWrapper:[5,1,1,""],OpWrapper:[5,1,1,""],Registry:[5,1,1,""],VarWrapper:[5,1,1,""],graph_wrapper:[5,0,0,"-"],registry:[5,0,0,"-"]},"paddleslim.core.GraphWrapper":{"var":[5,2,1,""],all_parameters:[5,2,1,""],clone:[5,2,1,""],get_param_by_op:[5,2,1,""],infer_shape:[5,2,1,""],is_parameter:[5,2,1,""],is_persistable:[5,2,1,""],next_ops:[5,2,1,""],numel_params:[5,2,1,""],ops:[5,2,1,""],pre_ops:[5,2,1,""],program:[5,2,1,""],update_groups_of_conv:[5,2,1,""],update_param_shape:[5,2,1,""],vars:[5,2,1,""]},"paddleslim.core.OpWrapper":{all_inputs:[5,2,1,""],all_outputs:[5,2,1,""],attr:[5,2,1,""],idx:[5,2,1,""],inputs:[5,2,1,""],is_bwd_op:[5,2,1,""],is_opt_op:[5,2,1,""],outputs:[5,2,1,""],set_attr:[5,2,1,""],type:[5,2,1,""]},"paddleslim.core.Registry":{get:[5,2,1,""],module_dict:[5,4,1,""],name:[5,4,1,""],register:[5,2,1,""]},"paddleslim.core.VarWrapper":{inputs:[5,2,1,""],is_parameter:[5,2,1,""],name:[5,2,1,""],outputs:[5,2,1,""],set_shape:[5,2,1,""],shape:[5,2,1,""]},"paddleslim.core.graph_wrapper":{GraphWrapper:[5,1,1,""],OpWrapper:[5,1,1,""],VarWrapper:[5,1,1,""]},"paddleslim.core.graph_wrapper.GraphWrapper":{"var":[5,2,1,""],all_parameters:[5,2,1,""],clone:[5,2,1,""],get_param_by_op:[5,2,1,""],infer_shape:[5,2,1,""],is_parameter:[5,2,1,""],is_persistable:[5,2,1,""],next_ops:[5,2,1,""],numel_params:[5,2,1,""],ops:[5,2,1,""],pre_ops:[5,2,1,""],program:[5,2,1,""],update_groups_of_conv:[5,2,1,""],update_param_shape:[5,2,1,""],vars:[5,2,1,""]},"paddleslim.core.graph_wrapper.OpWrapper":{all_inputs:[5,2,1,""],all_outputs:[5,2,1,""],attr:[5,2,1,""],idx:[5,2,1,""],inputs:[5,2,1,""],is_bwd_op:[5,2,1,""],is_opt_op:[5,2,1,""],outputs:[5,2,1,""],set_attr:[5,2,1,""],type:[5,2,1,""]},"paddleslim.core.graph_wrapper.VarWrapper":{inputs:[5,2,1,""],is_parameter:[5,2,1,""],name:[5,2,1,""],outputs:[5,2,1,""],set_shape:[5,2,1,""],shape:[5,2,1,""]},"paddleslim.core.registry":{Registry:[5,1,1,""]},"paddleslim.core.registry.Registry":{get:[5,2,1,""],module_dict:[5,4,1,""],name:[5,4,1,""],register:[5,2,1,""]},"paddleslim.dist":{single_distiller:[6,0,0,"-"]},"paddleslim.dist.single_distiller":{fsp_loss:[6,3,1,""],l2_loss:[6,3,1,""],loss:[6,3,1,""],merge:[6,3,1,""],soft_label_loss:[6,3,1,""]},"paddleslim.models":{classification_models:[7,0,0,"-"],image_classification:[7,3,1,""],mobilenet:[7,0,0,"-"],mobilenet_v2:[7,0,0,"-"],resnet:[7,0,0,"-"],util:[7,0,0,"-"]},"paddleslim.models.classification_models":{MobileNet:[7,1,1,""],MobileNetV2:[7,1,1,""],ResNet34:[7,3,1,""],ResNet50:[7,3,1,""]},"paddleslim.models.classification_models.MobileNet":{conv_bn_layer:[7,2,1,""],depthwise_separable:[7,2,1,""],net:[7,2,1,""]},"paddleslim.models.classification_models.MobileNetV2":{conv_bn_layer:[7,2,1,""],inverted_residual_unit:[7,2,1,""],invresi_blocks:[7,2,1,""],net:[7,2,1,""],shortcut:[7,2,1,""]},"paddleslim.models.mobilenet":{MobileNet:[7,1,1,""]},"paddleslim.models.mobilenet.MobileNet":{conv_bn_layer:[7,2,1,""],depthwise_separable:[7,2,1,""],net:[7,2,1,""]},"paddleslim.models.mobilenet_v2":{MobileNetV2:[7,1,1,""],MobileNetV2_scale:[7,3,1,""],MobileNetV2_x1_0:[7,3,1,""],MobileNetV2_x1_5:[7,3,1,""],MobileNetV2_x2_0:[7,3,1,""]},"paddleslim.models.mobilenet_v2.MobileNetV2":{conv_bn_layer:[7,2,1,""],inverted_residual_unit:[7,2,1,""],invresi_blocks:[7,2,1,""],net:[7,2,1,""],shortcut:[7,2,1,""]},"paddleslim.models.resnet":{ResNet101:[7,3,1,""],ResNet152:[7,3,1,""],ResNet34:[7,3,1,""],ResNet50:[7,3,1,""],ResNet:[7,1,1,""]},"paddleslim.models.resnet.ResNet":{basic_block:[7,2,1,""],bottleneck_block:[7,2,1,""],conv_bn_layer:[7,2,1,""],net:[7,2,1,""],shortcut:[7,2,1,""]},"paddleslim.models.util":{image_classification:[7,3,1,""]},"paddleslim.nas":{one_shot:[9,0,0,"-"],sa_nas:[8,0,0,"-"]},"paddleslim.nas.one_shot":{OneShotSearch:[9,3,1,""],OneShotSuperNet:[9,1,1,""],SuperMnasnet:[9,1,1,""],one_shot_nas:[9,0,0,"-"],super_mnasnet:[9,0,0,"-"]},"paddleslim.nas.one_shot.OneShotSuperNet":{forward:[9,2,1,""],init_tokens:[9,2,1,""],range_table:[9,2,1,""]},"paddleslim.nas.one_shot.SuperMnasnet":{get_flops:[9,2,1,""],init_tokens:[9,2,1,""],range_table:[9,2,1,""]},"paddleslim.nas.one_shot.one_shot_nas":{OneShotSearch:[9,3,1,""],OneShotSuperNet:[9,1,1,""]},"paddleslim.nas.one_shot.one_shot_nas.OneShotSuperNet":{forward:[9,2,1,""],init_tokens:[9,2,1,""],range_table:[9,2,1,""]},"paddleslim.nas.one_shot.super_mnasnet":{SuperMnasnet:[9,1,1,""]},"paddleslim.nas.one_shot.super_mnasnet.SuperMnasnet":{get_flops:[9,2,1,""],init_tokens:[9,2,1,""],range_table:[9,2,1,""]},"paddleslim.nas.sa_nas":{SANAS:[8,1,1,""]},"paddleslim.nas.sa_nas.SANAS":{current_info:[8,2,1,""],next_archs:[8,2,1,""],reward:[8,2,1,""],tokens2arch:[8,2,1,""]},"paddleslim.pantheon":{Student:[10,1,1,""],Teacher:[10,1,1,""],student:[10,0,0,"-"],teacher:[10,0,0,"-"],utils:[10,0,0,"-"]},"paddleslim.pantheon.Student":{get_knowledge_desc:[10,2,1,""],get_knowledge_generator:[10,2,1,""],get_knowledge_qsize:[10,2,1,""],recv:[10,2,1,""],register_teacher:[10,2,1,""],send:[10,2,1,""],start:[10,2,1,""]},"paddleslim.pantheon.Teacher":{dump:[10,2,1,""],recv:[10,2,1,""],send:[10,2,1,""],start:[10,2,1,""],start_knowledge_service:[10,2,1,""]},"paddleslim.pantheon.student":{Student:[10,1,1,""]},"paddleslim.pantheon.student.Student":{get_knowledge_desc:[10,2,1,""],get_knowledge_generator:[10,2,1,""],get_knowledge_qsize:[10,2,1,""],recv:[10,2,1,""],register_teacher:[10,2,1,""],send:[10,2,1,""],start:[10,2,1,""]},"paddleslim.pantheon.teacher":{Teacher:[10,1,1,""]},"paddleslim.pantheon.teacher.Teacher":{dump:[10,2,1,""],recv:[10,2,1,""],send:[10,2,1,""],start:[10,2,1,""],start_knowledge_service:[10,2,1,""]},"paddleslim.pantheon.utils":{EndSignal:[10,1,1,""],StartSignal:[10,1,1,""],SyncSignal:[10,1,1,""],check_ip:[10,3,1,""],convert_dtype:[10,3,1,""]},"paddleslim.prune":{AutoPruner:[11,1,1,""],Pruner:[11,1,1,""],SensitivePruner:[11,1,1,""],auto_pruner:[11,0,0,"-"],conv2d:[11,1,1,""],flops_sensitivity:[11,3,1,""],get_ratios_by_loss:[11,3,1,""],load_model:[11,3,1,""],load_sensitivities:[11,3,1,""],merge_sensitive:[11,3,1,""],prune_io:[11,0,0,"-"],prune_walker:[11,0,0,"-"],pruner:[11,0,0,"-"],save_model:[11,3,1,""],sensitive:[11,0,0,"-"],sensitive_pruner:[11,0,0,"-"],sensitivity:[11,3,1,""]},"paddleslim.prune.AutoPruner":{prune:[11,2,1,""],reward:[11,2,1,""]},"paddleslim.prune.Pruner":{prune:[11,2,1,""]},"paddleslim.prune.SensitivePruner":{get_ratios_by_sensitive:[11,2,1,""],greedy_prune:[11,2,1,""],prune:[11,2,1,""],restore:[11,2,1,""],save_checkpoint:[11,2,1,""]},"paddleslim.prune.auto_pruner":{AutoPruner:[11,1,1,""]},"paddleslim.prune.auto_pruner.AutoPruner":{prune:[11,2,1,""],reward:[11,2,1,""]},"paddleslim.prune.prune_io":{load_model:[11,3,1,""],save_model:[11,3,1,""]},"paddleslim.prune.prune_walker":{conv2d:[11,1,1,""]},"paddleslim.prune.pruner":{Pruner:[11,1,1,""]},"paddleslim.prune.pruner.Pruner":{prune:[11,2,1,""]},"paddleslim.prune.sensitive":{flops_sensitivity:[11,3,1,""],get_ratios_by_loss:[11,3,1,""],load_sensitivities:[11,3,1,""],merge_sensitive:[11,3,1,""],sensitivity:[11,3,1,""]},"paddleslim.prune.sensitive_pruner":{SensitivePruner:[11,1,1,""]},"paddleslim.prune.sensitive_pruner.SensitivePruner":{get_ratios_by_sensitive:[11,2,1,""],greedy_prune:[11,2,1,""],prune:[11,2,1,""],restore:[11,2,1,""],save_checkpoint:[11,2,1,""]},"paddleslim.quant":{quant_embedding:[12,0,0,"-"],quanter:[12,0,0,"-"]},"paddleslim.quant.quant_embedding":{quant_embedding:[12,3,1,""]},"paddleslim.quant.quanter":{convert:[12,3,1,""],quant_aware:[12,3,1,""],quant_post:[12,3,1,""]},paddleslim:{analysis:[3,0,0,"-"],common:[4,0,0,"-"],core:[5,0,0,"-"],dist:[6,0,0,"-"],models:[7,0,0,"-"],pantheon:[10,0,0,"-"],prune:[11,0,0,"-"],quant:[12,0,0,"-"],version:[2,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","function","Python function"],"4":["py","attribute","Python attribute"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:function","4":"py:attribute"},terms:{"769x769":19,"94mb":[16,18],"\u4e2d\u6587\u6587\u6863":16,"\u5728\u53e6\u4e00\u4e2a\u8fdb\u7a0b\u4e2d":26,"abstract":[3,4],"class":[3,4,5,7,8,9,10,11,13],"default":[3,4,6,8,9,10,11,12,20,24],"final":[9,12,22,24,25,26],"float":[3,4,5,6,8,11,14,22,24],"function":[4,5,6,8,9,11,12,13,14,20,23,24,25],"import":[4,13],"int":[3,4,5,8,9,10,11,12,14],"new":[4,5,13],"public":10,"return":[3,4,5,6,8,9,10,11,12,13,22,26],"static":[10,16,18],"super":9,"true":[3,7,8,10,11,12,20,22,23,24,25,26],"try":[4,11],"var":[5,6,24,25],"while":[8,9,11,26],And:[11,23],But:26,FPS:19,For:[4,8,13],NOT:13,One:[16,18,26],Ops:20,The:[3,4,5,6,8,9,10,11,12,14,19,20,22,23,24,25,26],Then:[24,25],There:25,Use:13,Used:14,__dict__:20,__init__:13,__name__:4,_bn:13,_conv0:13,_conv1:13,_conv2:13,_conv:13,_conv_bn_lay:13,_elementwise_add:13,_resnet_block:13,_sep_weight:26,_shortcut:13,_vd:19,aadvanc:16,abil:[16,18],about:[0,8,13],abs_max:12,acc1:[20,22,23,24,25,26],acc5:[20,22,23,24,25,26],acc:19,acc_top1:[20,22,26],acc_top1_n:26,acc_top5:[20,22,26],acc_top5_n:26,accept:[9,11],accord:[4,5,8,11,13,22,24,26],accuraci:[11,16,18,20,22,24,25,26],accuracy_loss:11,act:[7,13],activ:[12,14,25],activation_bit:12,active_typ:14,adam:22,add:[3,6,12,13,24],added:[6,10],address:[4,8,10],advanc:[16,18],after:[4,5,22,25,26],again:11,agent:4,algo:12,algorithm:8,all:[3,4,5,6,8,10,11,12,14,20],all_input:5,all_output:5,all_paramet:[5,26],alreadi:10,also:[11,16,18,20,26],analysi:[0,1,2,22,23,26],analysis:11,analyz:26,android:[16,18],ani:[5,10],anneal:[4,8,11],anoth:26,apart:26,api:[12,16,18,20,22,23,24,25,26],append:[11,13,20,22,24,25,26],appli:[12,16,18,26],applic:[16,18],arch:22,architectur:[4,8,14,20,21],arg:8,argument:[9,10,11],armv7:19,armv8:19,arrai:[13,22,24,25,26],asctim:4,assembl:[16,18],assign:10,attr:5,attribut:5,auto:19,auto_prun:[1,2],autom:[16,18],automat:[4,16,18],autoprun:11,auxiliari:[16,18],avail:[16,17,18],averag:14,avg_cost:[20,22],avoid:20,awar:[16,18,21],axi:[13,14,22],backup:11,backward:5,base:[3,4,5,8,9,10,11,16,18,19,22,23,26],baselin:[16,18,19],basic_block:7,basicconfig:4,batch:[10,12,14,16,18,20,22,23,24,25,26],batch_gener:10,batch_norm:13,batch_num:[12,25],batch_reward:22,batch_siz:[10,12,20,22,23,24,25,26],becaus:[24,25],befor:[4,6,12,26],below:[11,20,23,26],benckmark:[16,18],best:[4,8,9,11],best_token:4,better:8,between:[11,12],beyond:19,bia:14,bigger:8,bind:4,bit:12,blazefac:19,block:8,block_mask:[8,13],block_num:[8,13],bn5c_branch2b:20,bool:[3,5,8,10,11,12],bottleneck_block:7,bottleneck_params_list:13,box:19,bracket:12,buf_siz:[10,22],buffer:10,build_program:22,c_in:14,c_out:14,cach:4,cache_dir:12,cache_path:4,cached_id:4,cached_read:[1,2],calcul:[3,11,12,25],calibr:[12,25],call:[9,10,24,25,26],callback:[4,9,11],can:[5,8,10,11,12,13,14,16,18,20,24,26],cann:11,cannot:24,capac:10,carri:10,categori:20,caus:20,ceil:14,ceil_mod:14,cellphon:[16,18],certain:8,certainli:8,ch_out:7,chang:[23,24],change_depth:7,channel:[7,9,11,13,14,16,18,21],channel_in:13,channel_num:13,chapter:22,check:4,check_ip:10,checkpoint:[4,8,11],cifar10:[19,22],cifar:22,cityscap:19,class_dim:[7,20],class_num:7,classif:[21,27],classification_model:[1,2],classsif:[23,26],client:[4,11],client_nam:4,client_num:4,clip:12,clone:[5,17,22],close:[4,24,25],cls:5,coco:19,code:[13,20,23,26],collect:[13,16,18],com:17,combin:6,comma:14,command:10,common:[1,2,10],commun:11,compiledprogram:12,compress:[16,18],comput:[9,11,14,16,18],condit:11,config:[4,8,10,12,13,19,22],configur:[8,24],conflict:20,connect:[4,11],consid:11,consist:[6,8],constrain:[16,18],constrain_func:4,constraint:[4,22],construct:[13,24,25],consult:[16,18],contain:[9,10,16,18,22,24,25],continu:22,control:[1,2,8,11],control_token:4,controller_cli:[1,2],controller_serv:[1,2],controllercli:4,controllerserv:4,conv1:7,conv1_nam:7,conv2_1_sep_weight:23,conv2_2_sep_weight:23,conv2d:[11,12,13],conv:13,conv_bn_lay:[7,13],conveni:[24,25],converg:8,convert:[8,12,24],convert_dtyp:10,convlut:3,convolut:[3,5,11,13,16,18,26],convolutoin:26,core:[1,2],correctli:[20,22,23,24,25,26],correspind:8,correspond:[8,10,14,20],cost:[16,18,19,20,22,26],count:[3,4,26],cpu:10,cpu_num:10,cpuplac:[6,11,12,20,22,23,24,25],creat:14,criterion:[11,19],cross_entropi:[20,22],cuda_visible_devic:10,cudaplac:[6,11,12,26],current:[3,4,5,8,9,11,13,22,26],current_flop:22,current_info:8,current_token:4,cut:11,cycl:22,dark:[16,18],dart:19,darts_sa:19,data:[4,8,10,12,16,18,20,23],data_feed:[22,26],data_map_map:6,data_name_map:[6,20],data_read:22,data_residu:7,datafeed:[20,22,23,24,25,26],dataload:[10,12],dataset:[4,11,19,20,22,24,25,26],dcn:19,decai:[4,11],decor:13,decoupl:[16,18],deep:[16,18],deeplabv3:19,def:[13,22,24,25,26],defalut:[11,12],default_main_program:22,defin:[3,4,5,6,9,10,13,16,18,24,25],delimit:3,demo:[20,23,26],denot:10,depend:[14,24,25],depthwise_conv2d:12,depthwise_conv2d_11:20,depthwise_separ:7,dequant:[12,24],describ:22,descript:10,detail:[3,8,14,19],determin:10,develop:[16,18],devic:[3,6,10,11,12,16,18,19],dict:[3,4,5,6,8,10,11,12],dictionari:[8,10],differ:[10,16,18],differenct:11,dilat:14,dimens:6,direct:12,directli:22,directori:[8,11,26],dirnam:[11,24,25],disabl:4,discret:8,disk:12,dist:[0,1,2,20],distil:6,distillationresnet34:[16,18],distribut:[16,18],divergenc:12,divid:6,document:16,doe:[24,25],doesn:10,doing:25,donnot:4,donot:14,down:[11,26],download:[19,20,22,23,24,25,26],drop:10,drop_last:[10,20,23,24,25,26],dtype:[10,12,20,22,24],dump:10,dure:[8,16,18,26],dygraph:9,dynam:[9,10,16,18],each:[3,9,10,11,16,18,22],easi:19,easier:[16,18],easili:23,either:[16,18],element:[5,11],elementwise_add:13,els:[4,13],empir:19,emsp:13,end:10,endsign:10,engin:[3,14],english:14,enough:26,ensur:[17,20,23,26],enumer:13,env:19,environ:[10,14],epoch:[20,22,23,24,25,26],equal:11,estim:[16,18],eva:26,eval_feed:22,eval_func:[9,11],eval_progarm:22,eval_program:[11,22],eval_read:[4,22],evalu:[3,4,11,14,26],everi:[9,12,13,14],evolut:[16,18],evolutionari:4,evolutionarycontrol:4,exampl:[4,13,24,25],except:6,exclud:14,excut:[20,23,26],exe:[10,11,20,22,23,24,25,26],execut:[9,10,11,26],executor:[10,11,12,20,22,24,25],exist:13,expansion_factor:7,experi:[8,22],explor:[8,16,18],extrem:8,face:19,factor:12,failur:8,fake:12,fals:[3,5,7,8,9,10,11,12,22,23,24],fast:19,faster:8,fc_name:7,featur:14,feed:[10,20,22,23,24,25,26],feed_list:10,feed_target_nam:25,feeded_var_nam:[24,25],fetch:10,fetch_list:[20,22,23,24,25,26],fetch_target:25,file:[3,4,5,10,11,12,13,14,16,18,19],filenam:12,filesystem:[11,26],filter:[5,11],filter_num:13,filter_s:[7,13],finally_reward:22,finetun:24,finish:10,first:[8,14,24,25],fit:20,flag_bia:14,flag_global_pool:14,flag_relu:14,flags_selected_gpu:10,flexibl:[16,18],float32:[20,22,24],float_prog:24,floor:14,flop:[1,2,11,13,16,18,22,26],flops_sensit:11,fluid:[3,5,6,9,10,11,12,13,20,22,23,24,25,26],fmt:4,follow:[10,13,14,20,22,23,24,25,26],for_test:[5,12,22,24],form:20,formal:[24,25],format:[3,4,8,9,10,11,13,20,22,23,24,26],forward:[9,25],fp32:[12,19],framework:[5,16,18,24,25],freez:12,freezed_program:12,freezed_program_int8:12,friendli:[16,18],from:[4,5,6,10,11,16,17,18,20,22,24,26],fsp:6,fsp_loss:6,fuction:26,func:10,furthermor:[16,18],gener:[4,8,9,10,11,12],get:[3,4,5,8,9,10,11,12,13,20,22,24,25],get_flop:9,get_knowledge_desc:10,get_knowledge_gener:10,get_knowledge_qs:10,get_logg:4,get_param_by_op:5,get_ratios_by_loss:[11,26],get_ratios_by_sensit:11,gflop:19,git:17,github:17,given:[3,4,5,11,26],global:[6,14],global_block:[24,25,26],global_scop:[12,23,26],gpu:[10,19],granular:26,graph:[3,5,9,10,11],graph_wrapp:[1,2],graphwrapp:5,grapwrapp:3,greater:8,greedi:8,greedy_prun:11,group:[5,7,11,14,26],guard:20,h_in:14,handl:4,hard:19,hardwar:[0,16,18],has:[8,13,14],have:[17,20,22,23,24,25,26],head:13,height:14,higher:[8,13],histori:17,host:[8,11],how:[8,17,20,22,23,24,25,26],http:17,human:5,hyperparamet:[4,16,18],ident:11,identifi:4,ids:10,idx:5,if_act:7,ifshortcut:7,ignor:10,imag:[21,27],image_classif:[7,23,24,25,26],image_shap:7,imagenet1000:19,imagenet2012:[16,18],implement:[16,18],in_address:10,in_c:7,in_nod:5,in_path:10,inceptionablock:13,inceptionablockspac:13,inceptioncblock:13,inceptioncblockspac:13,includ:[5,8,10,14,22],independ:[16,18],index:[13,14],indic:[5,6,9,19],infer:[3,10,12,14,16,18,24,25],infer_shap:5,inference_model:[24,25],inferfac:[24,25],info:4,inform:[4,8,11,14,26],inherit:13,init:[4,9,11],init_ratio:11,init_temperatur:[4,8,11],init_token:[4,8,9,13],initi:[4,8,13],input:[5,6,7,8,9,10,12,13,14,19,20,23,26],input_channel:9,input_data:22,input_s:[8,13],insert:12,instal:[16,20,22,23,24,25,26],instanc:[5,8,9,11],int64:[20,22],int8:[12,16,18,24],int8_prog:24,integ:9,interfac:6,introduct:19,inverted_residual_unit:7,invresi_block:7,iphon:[16,18],irgraph:5,is_bwd_op:5,is_first:7,is_full_quant:12,is_opt_op:5,is_paramet:5,is_persist:5,is_serv:[8,11],is_use_cache_fil:12,iter:[4,11,24,25],iterm:13,its:[10,14,26],jump:22,just:[3,23,26],keep:[16,18],kei:[3,4,5,6,8,10,11,12,20,26],kernel:[13,14],kirin:19,knowledg:10,kwarg:6,l1_norm:11,l2_loss:[6,20],label:[6,20,22],languag:[12,16,18],lantenc:0,larg:[8,16,18],last:[4,10],latenc:[1,2,11,13,14,16,18,19],latency_855:19,latencyevalu:3,latest:[4,11,16,18],launch:10,layer:[3,5,7,9,13,16,18,20,22,26],layer_set:13,lazi:11,learn:[20,23,24,26],learning_r:22,least:9,legal:[4,11],len:13,length:[8,11,13],less:[8,10,11],level:[4,10],levelnam:4,librari:11,light:4,limit:10,line:[14,20],lis:9,list:[4,5,8,9,10,11,12,13],list_var:20,listen:4,lite:[19,24],load:[5,8,11,12,24,25],load_checkpoint:8,load_inference_model:25,load_model:11,load_sensit:[11,26],local:[4,16,18],lock:[1,2],lod:10,log:4,log_help:[1,2],logger:4,lookup_t:12,loss:[6,11,22,23,24,25,26],loss_func:6,loss_np:20,lower:8,mai:26,main:20,main_program:[24,25],make:[16,18,22,23,24,25,26],map:[6,12,14,16,18],mark:14,max:[4,11,14],max_client_num:[4,11],max_ratio:11,max_reward:4,max_try_tim:[4,11],max_valu:9,maximum:[4,9,10],mean:[4,8,9,10,11,13,20,22,24,25,26],meanwhil:[16,18],medium:19,meet:4,memori:12,merg:[6,10,11,16,18],merge_sensit:[11,26],merge_strategi:10,messag:4,method:[3,4,10,12,16,18,19,20,24,25],min:11,min_ratio:11,min_valu:9,mini:25,minim:[19,20,22],minimum:9,miou:19,mixup:19,mnist:[20,23,24,25,26],mobilenet:[1,2,19,20,23,24,25,26],mobilenet_v2:[1,2],mobilenetv1:[16,18,19,20,23,24,25,26],mobilenetv1block:13,mobilenetv1blockspac:13,mobilenetv1spac:13,mobilenetv2:[7,13,16,18,19,22],mobilenetv2_na:19,mobilenetv2_scal:7,mobilenetv2_x1_0:7,mobilenetv2_x1_5:7,mobilenetv2_x2_0:7,mobilenetv2block:13,mobilenetv2blockspac:13,mobilenetv2spac:[13,22],mobilnetv1:13,mode:[3,9,10,16,18],model:[1,2,3,6,8,9,10,11,12,21,27],model_dir:[12,25],model_filenam:12,model_s:[1,2],models:19,modifi:11,modul:1,module_dict:5,momentum:20,monitor:10,more:[8,12,16,18,20,26],much:8,mul:[3,12],multi:14,multipl:[10,16,18],must:[11,12],n_in:14,naiv:[16,18],name:[3,4,5,6,7,8,9,10,11,12,13,14,20,22,23,24,25],name_prefix:[6,20],name_scop:9,namespac:13,nas:[0,1,2,4,22],nas_checkpoint:8,nasv2:19,necessari:[10,13,22,26],need:[8,13,20,22,24,25],nerual:21,net:[7,9,20],net_arch:13,network:[8,9,11,20],neural:[4,8,13,22],never:4,next:[4,5,8,22],next_arch:[8,22],next_op:5,next_token:4,node:[5,10,16,18],none:[4,5,6,7,8,9,10,11,12,13,14,20,22],normal:8,note:[8,19,23,24,25,26],now:10,num_filt:[7,13],num_filters1:7,num_filters2:7,num_group:7,num_in_filt:7,number:[3,4,5,8,10,11,12,13,14,20,23,26],numeb:13,numel_param:5,numpi:[13,22,24,25,26],obj365_pretrain:19,object:[3,4,5,8,10,11],observ:20,obtain:[8,12],offlin:[10,16,18],onc:10,one:[9,10,14,20,24,25,26],one_shot:[0,2,8],one_shot_na:[2,8],oneshotsearch:9,oneshotsupernet:9,onli:[3,8,10,11,12,13,24,25],onlin:[10,16,18],only_conv:3,only_graph:[11,26],op_typ:14,open:[16,18],oper:[3,5,12,20,24],ops:5,opt:20,optim:[5,14,20,22],option:[12,14,26],opwrapp:5,order:[10,20,22,24,25],org:17,other:[6,10,26],otherwis:[3,9,12],out:[10,20],out_channel:9,out_nod:5,out_path:10,out_port:10,output:[4,5,8,9,10,14,20,22,23,24,25,26],output_s:[8,13],overwrit:13,packag:[0,1,17,20,23,26],pad:[7,13,14],paddl:[4,5,6,9,11,16,18,20,22,23,24,25,26],paddle1:[20,23,24,25,26],paddlelit:19,paddlepaddl:17,paddlepaddle1:17,paddleslim:[0,14,16,17,18,20,22,23,24,25,26],pair:10,pantheon:[0,1,2,16,18],paper:[13,16,18],param:[4,8,11,12,19,23,26],param_backup:11,param_nam:11,param_shape_backup:11,paramat:11,paramet:[3,4,5,6,8,9,10,11,12,14,23,24,25],params_filenam:12,params_nam:12,pars:10,partial:4,pasacl:19,pascal:19,path:[3,4,10,12],percent:11,percis:13,perform:[3,9,20,24,25,26],persist:5,pickl:11,pip:17,place:[6,11,12,22,23,24,26],platform:[16,18],pleas:[8,17,19,20,22,23,24,25,26],plu:10,pool_typ:14,pop:10,port:[4,8,10,11,16,18],posit:9,possibl:[8,14],post:[12,16,18,21],pre:[19,22,24,25],pre_op:5,precis:12,predict:[10,16,18,20],prefix:[6,20],prefix_nam:7,preform:[24,25],prelu:14,preserv:8,pretrain:26,previou:5,primit:[16,18],print:[20,22,23,24,25,26],probabl:8,process:[13,16,18,24,25],prog:[24,25],program:[3,5,6,10,11,12,16,18,24,25,26],program_guard:[20,22],provid:[12,16,18],prun:[16,18],prune:[0,1,2,5,21,27],prune_io:[1,2],prune_walk:[1,2],pruned_flop:11,pruned_flops_r:11,pruned_lat:11,pruned_param:11,pruned_program:[11,23,26],pruned_ratio:[11,26],pruned_val_program:26,pruner:[1,2,23,26],prunework:11,purpos:13,push:10,pypi:17,pyread:10,python:[10,12,17],qsize:10,qualcomm:19,quant:[0,1,2,24,25],quant_awar:[12,19,24],quant_embed:[1,2],quant_post:[12,19,25],quant_post_model:25,quant_post_prog:25,quant_program:24,quanter:[1,2],quantiz:[12,21],quantizable_op_typ:12,quantize_bit:12,quantize_model_path:[12,25],quantize_typ:12,queue:10,quick:16,quickli:26,r34:19,r50:19,random:[4,8],randomli:8,rang:[4,8,9,13,14,16,18,22,24],range_t:[4,9,13],rank:14,rate:[4,8,11,24],ratio:[11,23],reach:[10,24,25],read:[20,22,23,24,25,26],readabl:5,reader:[4,10,20,22,23,24,25],reader_config:10,real:10,reason:[24,25,26],receiv:10,reciev:10,record:[3,12],recv:10,reduc:8,reduce_r:[4,8,11],reduct:8,refer:[8,13,16,18,19],regist:[5,10,13],register_teach:10,registr:10,registri:[1,2],relu6:14,relu:[7,13,14],rememb:4,remov:26,repeat:[10,13],repeat_tim:9,repeatedli:26,repres:[6,9,12,13,14],request:4,request_current_info:4,res:[24,25],research:[16,18],reset:4,resnet101:[7,19],resnet152:7,resnet34:[7,16,18,19],resnet50:[7,16,18,19,20],resnet50_vd1:19,resnet50_vd:19,resnet:[1,2,13,16,18],resnet_lay:13,resnetblock:13,resnetblockspac:13,resnetblockspace2:13,resnetspac:13,respect:10,restor:11,result:[24,25,26],reward:[4,8,11,22],reward_avg:22,risk:19,rk3288:[16,18],rtype:8,run:[4,6,10,12,16,18,20,22,23,24,25,26],s_0:26,s_1:26,sa_control:[1,2],sa_na:[1,2],sacontrol:4,same:[4,10,12,13,16,18,20],sampl:[4,10,12,16,18],sample_gener:[10,12,25],sample_list_gener:10,sampled_r:4,sana:[4,8,13,19],satisfi:22,save:[4,8,11,12,14,25,26],save_checkpoint:[8,11,22],save_inference_model:[12,24,25],save_int8:[12,24],save_model:11,scalabl:[16,18],scalar:11,scale:[7,12,16,18,25],scene:4,schema:10,scnn:19,scope:[5,6,9,11,12],score:[8,11],search:[0,4,8,9,11,21],search_space_bas:13,search_space_registri:13,search_step:[4,8,9,11],searcher:4,searchspac:13,searchspacebas:13,second:6,section:[22,23,24,25,26],see:[10,20],segment:[16,18],select:[24,25],self:[6,13,16,18],semant:[16,18],send:10,sens_0:26,sens_1:26,sensit:[1,2,16,18,19,27],sensitive_prun:[1,2],sensitiveprun:11,sensitivities_0:26,sensitivities_1:26,sensitivities_fil:[11,26],sent:10,separ:12,serv:10,server:[4,8,11],server_addr:[8,11,22],server_ip:4,server_port:4,servic:10,set:[4,5,8,9,10,11,12,13,26],set_attr:5,set_shap:5,sett:4,setup:17,shape:[5,10,11,13,20,22,23,26],share:10,shortcut:7,shortcut_conv:13,shot:[9,16,18],should:[4,6,9,10,11,12,24,26],show:[22,24,25,26],shuffl:22,sigmoid:14,similar:12,simpl:[17,23,26],simplifi:[24,25],simul:[4,8,11],simultan:4,singl:[11,12],single_distil:[1,2],size:[3,8,10,12,13,14,16,18,19,22,24,25],slim:[4,5,20,22,23,24,25,26],slow:26,slower:8,small:[8,16,18,24,25,26],smaller:[8,13,24],snapdragon:19,socket:4,soft:6,soft_label_loss:6,softmax:[6,22],softmax_out:22,solut:[4,16,18],some:[3,5,11,16,18,26],some_batch_genr:10,some_sample_gener:10,some_sample_list_gener:10,sort:11,sourc:[4,17],space:[0,4,8,9],special:[5,14],specifi:[6,10,13,20],speed:[19,24,25,26],split:[14,26],stabl:8,stage:9,start:[4,8,10,16,26],start_ev:22,start_knowledge_servic:10,start_train:22,startsign:10,startup_program:22,state:8,statu:4,steadi:8,step3:22,step:[4,8,9,11,22],stop:4,store:[11,23],str:[3,4,5,6,8,9,10,11,12,14],strategi:[9,10,11,16,18],stride:[7,9,13,14],string:[2,8,14],strong:8,strore:11,structur:[24,25],student:[1,2,6,16,18,19,20],student_feature_map:6,student_model_var:20,student_program:6,student_startup:20,student_temperatur:6,student_var1:6,student_var1_nam:6,student_var2:6,student_var2_nam:6,student_var:[6,20],student_var_nam:6,sub:[8,9],submodul:1,subpackag:1,successfulli:8,suffix:19,suggest:8,suitabl:24,sum:10,super_mnasnet:[2,8],supermnasnet:9,support:[10,11,12,14,16,18,26],sure:22,survei:[16,18],sychron:10,synchron:10,syncsign:10,system:4,tab:14,tabl:[0,4,9],table_fil:3,tablelatencyevalu:3,tanh:14,target:[3,5,11],target_var:[24,25],task:[4,8,16,18,23,26],tcp:[16,18],teacher:[1,2,6,16,18,19,20],teacher_:6,teacher_bn5c_branch2b:20,teacher_feature_map:6,teacher_id:10,teacher_model:20,teacher_model_var:20,teacher_program:6,teacher_startup:20,teacher_temperatur:6,teacher_var1:6,teacher_var1_nam:6,teacher_var2:6,teacher_var2_nam:6,teacher_var:[6,20],teacher_var_nam:6,technolog:[16,18],temp:12,temp_post_train:12,temperatur:[4,6,8,11],tensor:[5,12],tensorrt:19,test10:22,test:[11,12,19,20,22,23],test_program:22,test_read:[24,25,26],text:14,than:[8,10,11,16,18],thei:[16,18,24,25],them:[4,10,16,18],thi:[5,6,8,10,11,12,14,20,22,23,24,25,26],thread1:19,thread2:19,thread4:19,thread:[10,19],three:10,threshold:[11,12],time:[4,10,12,14,16,18,19,20,26],timestamp:14,tlatenc:14,tmp_0:20,tmp_3:20,token2arch:13,token:[4,8,9,11,13,19],tokens2arch:8,toolkit:[16,18],top1:[16,18,24,25],top5:[24,25],top:19,topk:11,total:[3,4,9],train10:22,train:[9,11,12,16,18,19,21],train_feed:[20,22,23,24,25],train_program:[11,22,23,24,25,26],train_read:[20,22,23,24,25,26],transfer:[10,16,18],transform:13,trial:10,tupl:[3,8,9,11,12],tutori:[16,20,22,23,24,25,26],two:20,txt:19,type:[3,4,5,6,8,9,10,11,12,14],uncom:20,under:12,unifi:20,uniform:[6,11,16,18,19],uniqu:10,unique_nam:20,univers:[16,18],unlock:4,unrel:10,unstabl:8,until:10,updat:[4,5,8,11],update_groups_of_conv:5,update_param_shap:5,usabl:4,use:[4,5,8,12,14,20,22,23,24,25,26],use_auxhead:9,use_cudnn:[7,22],use_gpu:[7,23,24,25,26],used:[3,4,5,6,8,9,10,11,12,13,14,22,23,24,26],user:[5,6,12],uses:[12,19,22],using:[4,12,14,24,25,26],usual:12,util:[1,2,12],v100:19,val_program:[23,24,25,26],val_quant_program:24,valid:[5,10],valu:[3,5,6,8,9,10,11,20,23,26],varaibl:9,variabl:[5,6,9,10,11,12,20],varibal:5,variou:[16,18],varwrapp:5,verifi:20,version:[1,19],vgg:[16,18],via:[16,18],vision:[16,18],visit:11,voc:19,volum:19,w_in:14,wai:14,wait:10,want:[8,13,22],weight:[11,12],weight_0:11,weight_1:11,weight_bit:12,well:[12,24,25],what:22,when:[10,11,12,24,25,26],whenev:10,where:[6,11,20],whether:[3,4,5,8,10,11,12,14],which:[4,6,8,9,11,12,20,22,24,25],whose:[3,9,10,11],why:8,wider:19,width:14,wise:[16,18],without:[4,24,25],won:26,work:[16,18],workflow:[20,23,26],wors:8,would:11,wrapper:[4,5,10],writer:10,wrote:10,yet:10,yolov3:19,you:[8,13,17,20,22,23,24,25,26],your:[16,18],yourself:8,zero:11,zoo:16},titles:["API Documents","paddleslim","paddleslim package","paddleslim.analysis package","paddleslim.common package","paddleslim.core package","paddleslim.dist package","paddleslim.models package","paddleslim.nas package","paddleslim.nas.one_shot package","paddleslim.pantheon package","paddleslim.prune package","paddleslim.quant package","search space","Table about hardware lantency","\u4e2d\u6587\u6587\u6863","Index","Install","Introduction","Model Zoo","Knowledge Distillation for Image Classification","Quick Start","Nerual Architecture Search for Image Classification","Channel Pruning for Image Classification","Training-aware Quantization of image classification model - quick start","Post-training Quantization of image classification model - quick start","Pruning of image classification model - sensitivity","Aadvanced Tutorials"],titleterms:{"\u4e2d\u6587\u6587\u6863":15,"function":[22,26],"import":[20,22,23,24,25,26],NAS:[16,18,19],aadvanc:27,about:[14,22],activaiton:14,add:20,after:[23,24],analysi:3,api:0,architectur:[13,16,18,22,24,25],auto_prun:11,awar:24,base:13,batch_norm:14,block:13,bofor:23,build:[22,23,26],cached_read:4,channel:23,classif:[16,18,19,20,22,23,24,25,26],classification_model:7,coco:[16,18],common:4,comput:[23,26],control:4,controller_cli:4,controller_serv:4,conv2d:14,core:5,data:[22,24,25,26],dataset:[16,18,23],defin:[20,22,23,26],definit:[24,25],depend:[20,22,23,26],detect:[16,18,19],differ:13,dist:6,distil:[16,18,19,20],document:0,each:26,eltwis:14,evalu:22,exampl:22,expand:26,featur:[16,18,20],fetch:22,file:26,fix:[16,18],flop:[3,23],format:14,from:13,full:22,funciton:22,gener:26,get:26,graph_wrapp:5,hardwar:14,how:13,imag:[16,18,19,20,22,23,24,25,26],index:16,initi:22,input:[22,24,25],instal:17,instanc:22,introduc:14,introduct:[16,18],knowledg:[16,18,20],lantenc:14,latenc:3,load:26,lock:4,log_help:4,loss:20,map:20,merg:[20,26],mobilenet:[7,16,18],mobilenet_v2:7,model:[7,13,16,18,19,20,22,23,24,25,26],model_s:3,modul:[2,3,4,5,6,7,8,9,10,11,12],multi:26,name:26,nas:[8,9,13],necessari:[24,25],nerual:22,network:26,neural:[16,18],normal:[24,25],object:[16,18,19],one_shot:9,one_shot_na:9,oper:14,origin:13,overview:14,packag:[2,3,4,5,6,7,8,9,10,11,12],paddleslim:[1,2,3,4,5,6,7,8,9,10,11,12,13],pantheon:10,paramet:26,pascal:[16,18],perform:[16,18],point:[16,18],pool:14,post:25,process:26,program:[20,22],provid:13,prune:[11,16,18,19,23,26],prune_io:11,prune_walk:11,pruner:11,quant:12,quant_embed:12,quanter:12,quantiz:[16,18,19,24,25],quick:[21,24,25],ratio:26,reader:26,registri:5,resnet:7,retur:22,sa_control:4,sa_na:8,sana:22,save:24,score:22,search:[13,16,18,22],segment:19,select:20,sensit:[11,26],sensitive_prun:11,sensitivi:26,singl:26,single_distil:6,softmax:14,space:13,start:[21,22,24,25],student:10,student_program:20,submodul:[2,3,4,5,6,7,8,9,10,11,12],subpackag:[2,8],super_mnasnet:9,tabl:14,teacher:10,teacher_program:20,test:[24,25,26],train:[20,22,23,24,25,26],tutori:27,use:13,util:[7,10],version:[2,14],voc:[16,18],which:13,write:13,yolov3:[16,18],yourself:13,zoo:19}})