mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-14 18:12:05 +00:00
* Update python documentation * remove two unnecessary files Co-authored-by: xavier dupré <xavier.dupre@gmail.com>
1 line
No EOL
17 KiB
JavaScript
1 line
No EOL
17 KiB
JavaScript
Search.setIndex({docnames:["README","api_summary","auto_examples/index","auto_examples/plot_backend","auto_examples/plot_common_errors","auto_examples/plot_convert_pipeline_vectorizer","auto_examples/plot_dl_keras","auto_examples/plot_load_and_predict","auto_examples/plot_metadata","auto_examples/plot_pipeline","auto_examples/plot_profiling","auto_examples/plot_train_convert_predict","auto_examples/sg_execution_times","examples_md","index","tutorial"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.viewcode":1,sphinx:56},filenames:["README.rst","api_summary.rst","auto_examples\\index.rst","auto_examples\\plot_backend.rst","auto_examples\\plot_common_errors.rst","auto_examples\\plot_convert_pipeline_vectorizer.rst","auto_examples\\plot_dl_keras.rst","auto_examples\\plot_load_and_predict.rst","auto_examples\\plot_metadata.rst","auto_examples\\plot_pipeline.rst","auto_examples\\plot_profiling.rst","auto_examples\\plot_train_convert_predict.rst","auto_examples\\sg_execution_times.rst","examples_md.rst","index.rst","tutorial.rst"],objects:{"onnxruntime.ModelMetadata":{custom_metadata_map:[1,1,1,""],description:[1,1,1,""],domain:[1,1,1,""],graph_description:[1,1,1,""],graph_name:[1,1,1,""],producer_name:[1,1,1,""],version:[1,1,1,""]},"onnxruntime.NodeArg":{name:[1,1,1,""],shape:[1,1,1,""],type:[1,1,1,""]},"onnxruntime.RunOptions":{log_severity_level:[1,1,1,""],log_verbosity_level:[1,1,1,""],logid:[1,1,1,""],only_execute_path_to_fetches:[1,1,1,""],terminate:[1,1,1,""],training_mode:[1,1,1,""]},"onnxruntime.SessionOptions":{add_free_dimension_override_by_denotation:[1,1,1,""],add_free_dimension_override_by_name:[1,1,1,""],add_initializer:[1,1,1,""],add_session_config_entry:[1,1,1,""],enable_cpu_mem_arena:[1,1,1,""],enable_mem_pattern:[1,1,1,""],enable_profiling:[1,1,1,""],execution_mode:[1,1,1,""],execution_order:[1,1,1,""],get_session_config_entry:[1,1,1,""],graph_optimization_level:[1,1,1,""],inter_op_num_threads:[1,1,1,""],intra_op_num_threads:[1,1,1,""],log_severity_level:[1,1,1,""],log_verbosity_level:[1,1,1,""],logid:[1,1,1,""],optimized_model_filepath:[1,1,1,""],profile_file_prefix:[1,1,1,""],register_custom_ops_library:[1,1,1,""],use_deterministic_compute:[1,1,1,""]},"onnxruntime.backend":{is_compatible:[1,2,1,""],prepare:[1,2,1,""],run:[1,2,1,""],supports_device:[1,2,1,""]},"onnxruntime.datasets":{get_example:[1,2,1,""]},onnxruntime:{InferenceSession:[1,0,1,""],ModelMetadata:[1,0,1,""],NodeArg:[1,0,1,""],RunOptions:[1,0,1,""],SessionOptions:[1,0,1,""],get_device:[1,2,1,""]}},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","function","Python function"]},objtypes:{"0":"py:class","1":"py:method","2":"py:function"},terms:{"000":12,"000155":11,"0002686927327886224":4,"00232":11,"00238":11,"00241":11,"00242":11,"0024466365575790405":4,"00248":11,"00249":11,"00254":11,"00257":11,"00265":11,"00266":11,"00272":11,"0028650640000000395":11,"00287":11,"00291":11,"00296":11,"00298":11,"00309":11,"003146542500000038":11,"00315":11,"00318":11,"00326":11,"00327":11,"0032889064999999107":11,"00329":11,"003354174317792058":11,"00336":11,"00342":11,"00344":11,"00345":11,"00352":11,"00355":11,"00362":11,"00368":11,"0038398131728172302":11,"00387":11,"00399":11,"00449":11,"00489":11,"005":11,"00516":11,"00598":11,"00614":11,"00658":11,"00753":11,"00812":11,"0116":[8,11],"013":8,"01e":11,"021566055715084076":4,"025723155587911606":11,"027834143489599228":4,"038":10,"03_00":10,"047":3,"049":4,"050":7,"0581":11,"0719":11,"0727":11,"07424944639205933":11,"079":11,"0919":11,"0x000001878b902eb8":11,"0x00000187f0e97b70":9,"100":11,"106":11,"119":11,"126":11,"129":11,"141":11,"148":11,"155":11,"162":11,"17321892082691193":11,"184":11,"205":10,"206":11,"208":11,"21910775e":11,"224":6,"22648":10,"23426993e":11,"242":11,"255":6,"256":11,"268":11,"269":10,"272":5,"308":6,"325":11,"35417635e":11,"399":11,"3c59201b940f410fa29dc71ea9d5767d":8,"417":[6,12],"422":11,"42494153e":11,"447":11,"499":11,"5023199":7,"503":11,"5037554":7,"50415754":7,"506":11,"5060302":7,"5092271":7,"513":11,"5136699":7,"51676244":7,"53362054":7,"5350911":7,"53652936":7,"54019606":7,"5429604":7,"54448766":7,"555519":7,"5723026":7,"57231679e":11,"5730977":7,"584":11,"594":11,"5958905":7,"5980871":7,"59e":11,"6000":10,"604758":7,"6090256":7,"61491245":7,"6188758":7,"6193227":7,"61995924":7,"62528753":7,"6253395":7,"62644744":7,"6270167988259345e":4,"6300376":7,"6305131":7,"6320263":7,"63803464":7,"6422848":7,"6441792":7,"64972466":7,"6529879":7,"66070724":7,"6622766":7,"66511655":7,"6668191":7,"6701227":7,"67285264":7,"6733471":7,"6735578":7,"6749091":7,"677417":7,"67e":11,"681966":7,"6823867":7,"6845094":7,"69262683":7,"69727564":7,"6986053":7,"710":9,"7127938":7,"71297586":7,"7162322":7,"71763974":7,"72006834":7,"72463864":7,"727":11,"7272017":7,"7297679":7,"7302063":7,"73218830e":11,"737":10,"74276732e":11,"75e":11,"787709464906584e":4,"796":11,"8234269618988037":11,"83980986e":11,"902899999999931e":11,"910393699497388":5,"9219107627868652":11,"9505997896194458":4,"9742767214775085":11,"982016280218886e":11,"98201855e":11,"986":11,"9974970817565918":4,"9997311234474182":4,"9999999999999488":5,"boolean":1,"byte":[1,4],"case":[1,5,11],"class":[1,4,5],"const":5,"default":1,"float":[1,4,5,7],"function":1,"import":[3,4,5,6,7,8,9,10,11,15],"int":[1,5],"new":6,"public":1,"return":[1,4,10,11],"switch":3,"true":[1,6,10,11],"try":[3,4,5,6],"while":1,And:11,But:5,For:[0,14],That:9,The:[1,3,4,5,6,7,10,11,15],Then:[9,11],There:[9,15],These:1,With:8,__int64:5,_parser_tf:6,about:1,absolut:1,access:1,across:1,actual:[1,4,5],add_free_dimension_override_by_denot:1,add_free_dimension_override_by_nam:1,add_initi:1,add_session_config_entri:1,addit:1,address:1,aka:[0,14],all:[1,2,4],alloc:[1,5],allow:1,also:[1,3,7],alwai:1,among:4,ani:[1,4],anti_alias:6,api:[3,14],appear:11,append:[1,11],appli:1,applic:[6,15],arena:1,arg0:1,arg1:1,arg:[1,10],argument:1,arrai:[1,3,4,7,10,11],array_equ:1,array_to_img:6,associ:1,assum:1,astyp:[6,7,11,15],attribut:6,attributeerror:6,auto_exampl:12,auto_examples_jupyt:2,auto_examples_python:2,avail:7,ave:11,averag:11,axesimag:9,axi:6,back:1,backend:[2,12],bad:4,basic:1,batch:[11,15],becaus:[1,5],befor:[9,10],being:1,below:1,better:11,between:[1,3,6,11],big:6,bind:1,bind_cpu_input:1,bind_input:1,bind_ortvalue_input:1,bind_ortvalue_output:1,bind_output:1,blue:11,boston:5,both:1,bound:1,briefli:15,buffer_ptr:1,build:1,build_layer_output_from_model:6,call:[1,5,6],can:[1,3,4,10,15],cannot:4,capi:[1,3,4,5,6],cat:10,chang:[1,15],change_ir_vers:10,check:1,chenta:9,choos:1,chosen:1,class_id:6,click:[3,4,5,6,7,8,9,10,11],clr:[11,15],code:[1,2,3,4,5,6,7,8,9,10,11,15],column:6,com:0,common:[2,5,11,12,15],commonli:15,compar:[5,11],comparison:[1,11],compat:1,compil:[1,3],compos:15,comprehens:6,comput:[1,3,5,6,7,10,11,15],config:1,configur:1,conform:1,confus:[5,11],confusion_matrix:11,consist:[5,11],consum:1,contain:[1,8,10],content:9,convers:6,convert:[2,8,9,12],convert_kera:6,convert_sklearn:[5,11,15],copi:1,copy_outputs_to_cpu:1,correspond:1,could:5,cpu:[1,3,15],creat:[1,5,15],creation:1,cuda:1,current:1,curv:11,custom:1,custom_metadata_map:[1,8],data:[1,4,5,11,15],data_ptr:1,data_typ:[1,5,9,11,15],datafram:[5,6,11],dataset:[3,4,5,7,8,9,10,11,15],datset:[5,11],debug:1,decod:6,decode_predict:6,deep:6,def:[10,11],defin:[1,15],definit:[1,7],demonstr:[5,6,7,9,11],denot:1,dense121:6,densenet121:6,densenet:6,depend:[1,3,15],deploi:8,describ:15,descript:[1,8],detail:15,determinist:1,devic:3,device_id:1,device_nam:1,device_typ:1,dictionari:[1,5],dictionarytyp:5,dictvector:5,differ:[9,11],dim:9,dim_valu:9,dimens:[1,3,4],directli:[1,3],discrep:5,discuss:1,displai:[6,9],doc:6,doc_str:8,docstr:9,document:1,doe:[4,10],domain:[1,8,9],don:1,dot:9,doubl:[4,5],download:[1,2,3,4,5,6,7,8,9,10,11],draw:[2,12],dtype:[3,4,7,10],due:4,dur:10,dynam:1,each:1,easi:15,easier:3,either:[3,4],elem_typ:9,element_typ:1,enabl:[1,10],enable_cpu_mem_arena:1,enable_mem_pattern:1,enable_profil:[1,10],end:[1,5,11],end_profil:10,engin:[0,14],ensembl:[5,11],entri:1,error:[1,2,12],etc:1,everi:11,exampl:[3,4,5,6,7,8,9,10,11,14],example1:[7,9,10],example2:4,except:[3,4,5,6],exchang:[0,14],execut:[1,2,11,12],execution_mod:1,execution_ord:1,exist:6,exit:1,expect:[3,4,5,6],experi:11,explain:5,expos:1,extend:3,facilit:1,fail:[4,5],fals:[1,5,6],famou:15,fatal:1,favorit:4,fct:11,featur:1,feature_extract:5,feed:[1,4],fetch:1,few:1,fid:9,file:[1,6,10,12],filenam:[1,10],first:[4,5,11,15],fit:[5,11,15],fix:[3,4],float32:[1,3,4,6,7,10,11,15],float64:4,float_data:9,float_input:[3,4,5,11,15],floattensortyp:[5,11,15],focus:[0,14],follow:[1,3,4,6],forest:11,format:[1,3,4,8,10],framework:[3,4],free:1,from:[1,3,4,5,6,7,8,9,10,11,15],full:[3,4,5,6,7,8,9,10,11],futur:1,galleri:[3,4,5,6,7,8,9,10,11,14],gener:[1,2,3,4,5,6,7,8,9,10,11],get:[1,6,11,15],get_devic:[1,3],get_exampl:[1,3,4,7,8,9,10],get_input:[4,5,6,7,10,11,15],get_modelmeta:8,get_output:[1,4,5,7,11,15],get_session_config_entri:1,getopnodeproduc:9,getpydotgraph:9,github:[0,7,14],given:1,global:11,goe:4,got:[3,4],gpu:[1,3,15],gracefulli:1,gradientboostingregressor:5,graph:[1,6,9],graph_descript:1,graph_nam:[1,8],graph_optimization_level:1,green:11,handl:4,has:[1,6,11],here:[1,3,4,5,6,7,8,9,10,11,15],high:15,higher:4,hold:1,host:1,how:[3,6,7,8,9,10,11],http:0,ident:11,identifi:1,imag:[6,9],imagenet:6,img:6,img_to_arrai:6,implement:[1,3],imread:9,imshow:[6,9],includ:[1,9],include_top:6,index:[3,4],indic:[1,3,4],individu:1,inferenc:1,inferencesess:[1,4,5,6,7,8,10,11,15],info:1,inform:[0,1,14],initi:[1,9],initial_typ:[5,11,15],inp:5,input:[1,3,4,5,6,7,9,11],input_nam:[4,6,7,10,11,15],input_shap:7,input_typ:7,insensit:1,inst:11,instal:1,instanc:[1,8],instead:[4,5],int64:[4,5],int64tensortyp:5,inter_op_num_thread:1,interest:1,interpret:10,intra_op_num_thread:1,introduc:1,invalid:[3,4],invalid_argu:[3,4,5],invalidargu:[3,4,5],invalidgraph:6,invoc:1,io_bind:1,ipynb:[3,4,5,6,7,8,9,10,11],ir_vers:[8,9,10],iri:[4,11,15],is_compat:1,is_tensor:1,issu:1,its:[1,5,7,9,11,15],jpg:6,json:10,jupyt:[2,3,4,5,6,7,8,9,10,11],keep:8,kei:1,kera:12,keras2onnx:6,kerastensor:6,kernel:1,kind:4,kwarg:1,label:[3,4,11],label_nam:[11,15],last:6,learn:[5,6,7,8,11,15],legend:11,len:11,less:5,let:[1,3,6,7,8,10,11],level:[1,15],libari:1,librari:1,line:6,linear_model:[11,15],list:[1,15],load:[2,3,4,5,6,8,9,10,11,12],load_boston:5,load_img:6,load_iri:[11,15],log:1,log_severity_level:1,log_verbosity_level:1,logger:1,logi:11,logid:1,logist:[3,4,8],logisticregress:[11,15],logreg_iri:[3,4,8,11,15],look:[4,5,9,11],loop:11,machin:[7,11,15],mai:1,main:[1,6],make:3,make_pipelin:5,map:[1,5],maptyp:5,math:1,matplotlib:[6,9,11],matrix:[5,11],max:11,mean:1,measur:11,memori:1,messag:9,meta:8,metadata:[1,2,12],metadata_prop:8,metric:[5,11],microsoft:0,microsoft_xadupr:6,min:11,minut:[3,4,5,6,7,8,9,10,11],mismatch:6,misspel:4,mkl:1,mode:1,model:[0,2,3,4,5,6,8,11,12,14],model_loading_arrai:10,model_select:[5,11,15],model_vers:8,modelmetadata:1,modelproto:[1,9],modul:[5,6,11],more:[0,6,14,15],most:[6,9],mul:9,mul_1:[9,10],multipl:[3,4],n_estim:11,n_tree:11,name:[1,3,4,5,6,7,9,10,11,15],nativ:1,necessarili:4,need:[1,10,11],net_draw:9,network:[0,14],neural:[0,14],newaxi:6,nfor:11,node:[1,9],node_produc:9,nodearg:1,none:[1,4,5,6,10,11,15],note:0,notebook:[2,3,4,5,6,7,8,9,10,11],nrow:11,number:[1,4,11],numpi:[1,3,4,5,6,7,10,11,15],object:[1,6,9,11],observ:5,obtain:6,off:6,one:[1,5,9,11,15],ones:5,onli:[1,4,6],only_execute_path_to_fetch:1,onnx:[1,2,4,8,10,12],onnx_model:10,onnx_model_str:10,onnxml:8,onnxmltool:[6,8,15],onnxruntim:[0,1,2,3,5,6,7,8,9,10,11,12,14,15],onnxruntime_profile__2020:10,onnxruntime_pybind11_st:[1,3,4,5,6],onnxruntimeerror:[3,4,5],onx:[5,6,11,15],op_typ:9,open:[0,5,6,9,10,11,14,15],oper:15,oppos:11,opset:10,opset_import:[9,10],optim:[1,15],optimized_model_filepath:1,option:[1,4,10],order:1,ort:1,ort_output:1,ortvalue_from_numpi:1,ortvalue_from_shape_and_typ:1,other:[1,3,4,9,11,15],out:[3,4,5,7,8,9,10,11],output:[1,4,5,6,7,9,11,15],output_dict:6,output_label:11,output_nam:[4,7],output_shap:7,output_typ:7,over:1,packag:[1,3,9],pair:[1,5],panda:[5,6,11],parallel:1,paramet:1,parsefromstr:9,part:1,particular:1,particularli:1,path:[1,6],path_or_byt:1,pattern:1,perfectli:11,perform:[0,1,14,15],pid:10,pipe:5,pipelin:[2,12,15],pipeline_vector:5,place:1,pleas:[0,3,4,14],plot:11,plot_backend:[3,12],plot_common_error:[4,12],plot_convert_pipeline_vector:[5,12],plot_dl_kera:[6,12],plot_load_and_predict:[7,12],plot_metadata:[8,12],plot_pipelin:[9,12],plot_profil:[10,12],plot_train_convert_predict:[11,12],plt:[6,9],png:9,pprint:[10,11],pre:1,pred:[5,11],pred_onx:[5,11,15],predict:[1,2,3,4,6,10,12,15],predict_proba:11,prefix:1,prepar:[1,3],preprocess:6,pretrain:6,primitivedatatyp:4,print:[3,4,5,6,7,8,9,10,11,15],prob:6,prob_nam:11,prob_rt:11,prob_sklearn:11,proba:3,probabili:11,probabl:[3,4,6],produc:[1,4,8],producer_nam:[1,8,9],producer_vers:8,product:8,prof_fil:10,profil:[1,2,12],profile_file_prefix:1,project:[0,14],properti:1,protobuf:9,provid:[1,15],provider_opt:1,put:1,pydot_graph:9,pyplot:[6,9],python:[1,2,3,4,5,6,7,8,9,10,11],r2_score:5,rais:4,random:[7,11],randomforestclassifi:11,rang:11,rank:4,rankdir:9,rather:15,ravel:6,raw:11,read:[1,9],readi:1,recent:6,register_custom_ops_librari:1,regress:[3,4,8],regular:[1,5],relat:8,releas:0,relev:11,rep:3,repeat:11,replac:4,request:1,requir:[1,6],res:[1,4,6,7,10],resiz:6,result:[6,10],retriev:[1,5,7,11],rf_iri:11,rf_iris_:11,roc:11,row:5,run:[3,4,5,6,7,8,9,10,11],run_log_severity_level:1,run_with_iobind:1,runopt:1,runtim:[1,2,8,10,12],runtimeerror:[3,4,5,6],same:[3,4,11],sannosawa1:6,save:[1,11],save_model_format:1,scenario:[1,5,11,15],scikit:[5,8,11,15],score:[0,14],script:[3,4,5,6,7,8,9,10,11],second:[3,4,5,6,7,8,9,10,11],see:[0,1,7,8,10,11,14,15],self:1,sequenc:1,sequencetyp:5,sequenti:1,serial:1,serializetostr:[5,6,10,11,15],servic:15,ses:1,sess:[1,4,5,6,7,8,10,11,15],sess_opt:1,sess_predict:11,sess_predict_proba:11,sess_predict_proba_loop:11,sess_predict_proba_rf:11,sess_profil:10,sess_tim:10,session:[1,10],session_initi:10,session_log_severity_level:1,sessionopt:[1,10],set:[1,5,11,15],set_titl:11,set_xlabel:11,set_ylabel:11,sever:[1,4],shape:[1,4,5,6,7,9,11],share:1,show:[1,5,7,10,11],sigmoid:7,similar:[5,11],simpl:[2,3,8,9,12],singl:[1,4],site:15,situat:4,size:1,skimag:6,skl2onnx:[5,11,15],sklearn:[5,8,11,15],small:5,snippet:1,some:10,sourc:[1,2,3,4,5,6,7,8,9,10,11],spars:5,specif:[1,8,15],specifi:[1,15],speed:11,sphinx:[2,3,4,5,6,7,8,9,10,11],start:[4,5,11],statu:1,std:5,step:[4,5,11],store:[1,9,10],str:1,string:1,struct:5,structur:1,suit:1,sum:11,summari:14,support:[1,10],supports_devic:1,system:9,tag:0,take:[4,5],target:[5,11,15],tensor:[1,5,7],tensor_typ:9,tensorflow:6,termin:1,test:[1,5,9,11],test_sigmoid:7,tf_graph:6,than:[1,4,9,15],thei:1,them:[5,11],thi:[1,3,4,5,7,9,10,11,15],thread:1,three:4,thu:1,tid:10,time:[1,3,4,5,6,7,8,9,10,11],timeit:11,timer:11,to_dict:5,too:6,tool:[9,15],topolog:1,total:[3,4,5,6,7,8,9,10,11,12],tpng:9,traceback:6,track:8,train:[1,2,4,8,12],train_test_split:[5,11,15],training_mod:1,transform:6,tree:11,trt:11,tsk:11,tutori:14,type:[1,4,5,7,9],typeerror:6,unexpect:[4,5],unless:1,unus:1,usabl:1,usag:1,use:[1,3,5,9,11,15],use_deterministic_comput:1,used:[1,8,15],useful:[1,8],user:1,uses:5,using:[1,3,4],usual:[1,15],valu:[1,5],variabl:5,vector:[4,5,7],verbos:1,veri:[2,5,10,12],verif:1,version:[1,6,8,9,10],vlog:1,wai:[9,15],want:1,warn:[1,4],webservic:11,weight:6,what:[10,11],when:8,whether:1,which:[1,4,5,8,9,15],wikipedia:6,within:1,without:[3,15],work:1,wrap:1,write:[5,6,11,15],write_dot:9,x_ortvalu:1,x_test:[5,11,15],x_test_dict:5,x_train:[5,11,15],x_train_dict:5,xadupr:6,ximg224:6,ximg:6,y_ortvalu:1,y_test:[5,11,15],y_train:[5,11,15],you:[1,15],your:4,zip:2},titles:["ONNX Runtime","API Summary","Gallery of examples","ONNX Runtime Backend for ONNX","Common errors with onnxruntime","Train, convert and predict with ONNX Runtime","ONNX Runtime for Keras","Load and predict with ONNX Runtime and a very simple model","Metadata","Draw a pipeline","Profile the execution of a simple model","Train, convert and predict with ONNX Runtime","Computation times","Gallery of examples","Python Bindings for ONNX Runtime","Tutorial"],titleterms:{"export":15,api:1,backend:[1,3],benchmark:11,bind:14,chang:0,common:4,comput:12,convers:[5,11],convert:[5,11,15],dataset:1,devic:1,draw:9,error:4,exampl:[1,2],execut:10,favorit:15,format:[5,9,11,15],framework:15,galleri:2,iobind:1,json:9,kera:6,load:[1,7,15],logist:11,metadata:8,model:[1,7,9,10,15],onnx:[0,3,5,6,7,9,11,14,15],onnxruntim:4,ortvalu:1,pipelin:[5,9],predict:[5,7,11],probabl:11,profil:10,python:14,randomforest:11,regress:11,retriev:9,run:[1,15],runtim:[0,3,5,6,7,11,14,15],simpl:[7,10],step:15,summari:1,time:12,train:[5,11,15],tutori:15,using:15,veri:7,your:15}}) |