:orphan: .. _examples-gallery: Examples Gallery ================ .. raw:: html
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_qextend_onnxruntime_thumb.png :alt: Fast runtime with onnxruntime :ref:`sphx_glr_gyexamples_plot_qextend_onnxruntime.py` .. raw:: html
Fast runtime with onnxruntime
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_inference_standard_thumb.png :alt: Benchmark inference for scikit-learn models :ref:`sphx_glr_gyexamples_plot_benchmark_inference_standard.py` .. raw:: html
Benchmark inference for scikit-learn models
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_cbegin_opset_thumb.png :alt: What is the opset number? :ref:`sphx_glr_gyexamples_plot_cbegin_opset.py` .. raw:: html
What is the opset number?
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_abegin_convert_pipeline_thumb.png :alt: Train and deploy a scikit-learn pipeline :ref:`sphx_glr_gyexamples_plot_abegin_convert_pipeline.py` .. raw:: html
Train and deploy a scikit-learn pipeline
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gexternal_lightgbm_thumb.png :alt: Convert a pipeline with a LightGBM classifier :ref:`sphx_glr_gyexamples_plot_gexternal_lightgbm.py` .. raw:: html
Convert a pipeline with a LightGBM classifier
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gbegin_cst_thumb.png :alt: Store arrays in one onnx graph :ref:`sphx_glr_gyexamples_plot_gbegin_cst.py` .. raw:: html
Store arrays in one onnx graph
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_fbegin_investigate_thumb.png :alt: Intermediate results and investigation :ref:`sphx_glr_gyexamples_plot_fbegin_investigate.py` .. raw:: html
Intermediate results and investigation
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_dbegin_options_list_thumb.png :alt: Black list operators when converting :ref:`sphx_glr_gyexamples_plot_dbegin_options_list.py` .. raw:: html
Black list operators when converting
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_nn_gpu_fwbw_thumb.png :alt: Forward backward on a neural network on GPU :ref:`sphx_glr_gyexamples_plot_orttraining_nn_gpu_fwbw.py` .. raw:: html
Forward backward on a neural network on GPU
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_nn_gpu_thumb.png :alt: Train a scikit-learn neural network with onnxruntime-training on GPU :ref:`sphx_glr_gyexamples_plot_orttraining_nn_gpu.py` .. raw:: html
Train a scikit-learn neural network with onnxruntime-training on GPU
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_woe_transformer_thumb.png :alt: Converter for WOE :ref:`sphx_glr_gyexamples_plot_woe_transformer.py` .. raw:: html
Converter for WOE
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gconverting_thumb.png :alt: Modify the ONNX graph :ref:`sphx_glr_gyexamples_plot_gconverting.py` .. raw:: html
Modify the ONNX graph
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_linear_regression_fwbw_thumb.png :alt: Train a linear regression with forward backward :ref:`sphx_glr_gyexamples_plot_orttraining_linear_regression_fwbw.py` .. raw:: html
Train a linear regression with forward backward
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_bbegin_measure_time_thumb.png :alt: Benchmark ONNX conversion :ref:`sphx_glr_gyexamples_plot_bbegin_measure_time.py` .. raw:: html
Benchmark ONNX conversion
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gbegin_dataframe_thumb.png :alt: Dataframe as an input :ref:`sphx_glr_gyexamples_plot_gbegin_dataframe.py` .. raw:: html
Dataframe as an input
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_funny_sigmoid_thumb.png :alt: Funny discrepancies :ref:`sphx_glr_gyexamples_plot_funny_sigmoid.py` .. raw:: html
Funny discrepancies
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_linear_regression_thumb.png :alt: Train a linear regression with onnxruntime-training :ref:`sphx_glr_gyexamples_plot_orttraining_linear_regression.py` .. raw:: html
Train a linear regression with onnxruntime-training
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_onnx_serialize_thumb.png :alt: SerializeToString and ParseFromString :ref:`sphx_glr_gyexamples_plot_benchmark_onnx_serialize.py` .. raw:: html
SerializeToString and ParseFromString
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_nn_gpu_fwbw_nesterov_thumb.png :alt: Forward backward on a neural network on GPU (Nesterov) and penalty :ref:`sphx_glr_gyexamples_plot_orttraining_nn_gpu_fwbw_nesterov.py` .. raw:: html
Forward backward on a neural network on GPU (Nesterov) and penalty
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_kcustom_converter_wrapper_thumb.png :alt: Implement a new converter using other converters :ref:`sphx_glr_gyexamples_plot_kcustom_converter_wrapper.py` .. raw:: html
Implement a new converter using other converters
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gexternal_lightgbm_reg_per_thumb.png :alt: Batch predictions vs one-off predictions :ref:`sphx_glr_gyexamples_plot_gexternal_lightgbm_reg_per.py` .. raw:: html
Batch predictions vs one-off predictions
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_mcustom_parser_thumb.png :alt: Change the number of outputs by adding a parser :ref:`sphx_glr_gyexamples_plot_mcustom_parser.py` .. raw:: html
Change the number of outputs by adding a parser
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_profile_ort_thumb.png :alt: Profile onnxruntime execution :ref:`sphx_glr_gyexamples_plot_profile_ort.py` .. raw:: html
Profile onnxruntime execution
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_dbegin_options_thumb.png :alt: One model, many possible conversions with options :ref:`sphx_glr_gyexamples_plot_dbegin_options.py` .. raw:: html
One model, many possible conversions with options
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_jcustom_syntax_thumb.png :alt: Two ways to implement a converter :ref:`sphx_glr_gyexamples_plot_jcustom_syntax.py` .. raw:: html
Two ways to implement a converter
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_dbegin_options_zipmap_thumb.png :alt: Choose appropriate output of a classifier :ref:`sphx_glr_gyexamples_plot_dbegin_options_zipmap.py` .. raw:: html
Choose appropriate output of a classifier
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_lcustom_options_thumb.png :alt: A new converter with options :ref:`sphx_glr_gyexamples_plot_lcustom_options.py` .. raw:: html
A new converter with options
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gbegin_transfer_learning_thumb.png :alt: Transfer Learning with ONNX :ref:`sphx_glr_gyexamples_plot_gbegin_transfer_learning.py` .. raw:: html
Transfer Learning with ONNX
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gexternal_xgboost_thumb.png :alt: Convert a pipeline with a XGBoost model :ref:`sphx_glr_gyexamples_plot_gexternal_xgboost.py` .. raw:: html
Convert a pipeline with a XGBoost model
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_profile_ort_onnx_thumb.png :alt: Profiling of ONNX graph with onnxruntime :ref:`sphx_glr_gyexamples_plot_profile_ort_onnx.py` .. raw:: html
Profiling of ONNX graph with onnxruntime
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gexternal_lightgbm_reg_mono_thumb.png :alt: Batch predictions without parallelization :ref:`sphx_glr_gyexamples_plot_gexternal_lightgbm_reg_mono.py` .. raw:: html
Batch predictions without parallelization
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_gexternal_lightgbm_reg_thumb.png :alt: Convert a pipeline with a LightGBM regressor :ref:`sphx_glr_gyexamples_plot_gexternal_lightgbm_reg.py` .. raw:: html
Convert a pipeline with a LightGBM regressor
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_icustom_converter_thumb.png :alt: Implement a new converter :ref:`sphx_glr_gyexamples_plot_icustom_converter.py` .. raw:: html
Implement a new converter
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_ebegin_float_double_thumb.png :alt: Issues when switching to float :ref:`sphx_glr_gyexamples_plot_ebegin_float_double.py` .. raw:: html
Issues when switching to float
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_graph_opt_thumb.png :alt: Benchmark onnxruntime optimization :ref:`sphx_glr_gyexamples_plot_benchmark_graph_opt.py` .. raw:: html
Benchmark onnxruntime optimization
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_benchmark_fwbw_thumb.png :alt: Benchmark, comparison scikit-learn - forward-backward :ref:`sphx_glr_gyexamples_plot_orttraining_benchmark_fwbw.py` .. raw:: html
Benchmark, comparison scikit-learn - forward-backward
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_benchmark_thumb.png :alt: Benchmark, comparison scikit-learn - onnxruntime-training :ref:`sphx_glr_gyexamples_plot_orttraining_benchmark.py` .. raw:: html
Benchmark, comparison scikit-learn - onnxruntime-training
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_op_leakyrelu_thumb.png :alt: Benchmark operator LeakyRelu :ref:`sphx_glr_gyexamples_plot_benchmark_op_leakyrelu.py` .. raw:: html
Benchmark operator LeakyRelu
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_transformer_discrepancy_thumb.png :alt: Dealing with discrepancies (tf-idf) :ref:`sphx_glr_gyexamples_plot_transformer_discrepancy.py` .. raw:: html
Dealing with discrepancies (tf-idf)
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_op_short_thumb.png :alt: Benchmark operator Slice :ref:`sphx_glr_gyexamples_plot_benchmark_op_short.py` .. raw:: html
Benchmark operator Slice
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_catwoe_transformer_thumb.png :alt: Converter for WOEEncoder from categorical_encoder :ref:`sphx_glr_gyexamples_plot_catwoe_transformer.py` .. raw:: html
Converter for WOEEncoder from categorical_encoder
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_quantization_thumb.png :alt: Quantization with onnxruntime :ref:`sphx_glr_gyexamples_plot_quantization.py` .. raw:: html
Quantization with onnxruntime
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_ort_api_thumb.png :alt: Benchmark onnxruntime API: run or run_with_ort_values :ref:`sphx_glr_gyexamples_plot_benchmark_ort_api.py` .. raw:: html
Benchmark onnxruntime API: run or run_with_ort_values
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_benchmark_torch_thumb.png :alt: Benchmark, comparison torch - forward-backward :ref:`sphx_glr_gyexamples_plot_orttraining_benchmark_torch.py` .. raw:: html
Benchmark, comparison torch - forward-backward
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_benchmark_fwbw_cls_thumb.png :alt: Benchmark, comparison sklearn - forward-backward - classification :ref:`sphx_glr_gyexamples_plot_orttraining_benchmark_fwbw_cls.py` .. raw:: html
Benchmark, comparison sklearn - forward-backward - classification
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_usparse_xgboost_thumb.png :alt: TfIdf and sparse matrices :ref:`sphx_glr_gyexamples_plot_usparse_xgboost.py` .. raw:: html
TfIdf and sparse matrices
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_inference_thumb.png :alt: Benchmark inference for a linear regression :ref:`sphx_glr_gyexamples_plot_benchmark_inference.py` .. raw:: html
Benchmark inference for a linear regression
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_pextend_python_runtime_thumb.png :alt: Fast design with a python runtime :ref:`sphx_glr_gyexamples_plot_pextend_python_runtime.py` .. raw:: html
Fast design with a python runtime
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_onnx_function_thumb.png :alt: Compares numpy to onnxruntime on simple functions :ref:`sphx_glr_gyexamples_plot_benchmark_onnx_function.py` .. raw:: html
Compares numpy to onnxruntime on simple functions
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_op_thumb.png :alt: Benchmark and profile of operator Slice :ref:`sphx_glr_gyexamples_plot_benchmark_op.py` .. raw:: html
Benchmark and profile of operator Slice
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_mcustom_parser_dataframe_thumb.png :alt: Add a parser to handle dataframes :ref:`sphx_glr_gyexamples_plot_mcustom_parser_dataframe.py` .. raw:: html
Add a parser to handle dataframes
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_parallel_execution_thumb.png :alt: Multithreading with onnxruntime :ref:`sphx_glr_gyexamples_plot_parallel_execution.py` .. raw:: html
Multithreading with onnxruntime
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_linear_regression_gpu_thumb.png :alt: Train a linear regression with onnxruntime-training on GPU in details :ref:`sphx_glr_gyexamples_plot_orttraining_linear_regression_gpu.py` .. raw:: html
Train a linear regression with onnxruntime-training on GPU in details
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_benchmark_eager_mode_thumb.png :alt: Benchmark onnxruntime API: eager mode :ref:`sphx_glr_gyexamples_plot_benchmark_eager_mode.py` .. raw:: html
Benchmark onnxruntime API: eager mode
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_orttraining_linear_regression_cpu_thumb.png :alt: Train a linear regression with onnxruntime-training in details :ref:`sphx_glr_gyexamples_plot_orttraining_linear_regression_cpu.py` .. raw:: html
Train a linear regression with onnxruntime-training in details
.. raw:: html
.. only:: html .. image:: /gyexamples/images/thumb/sphx_glr_plot_parallel_execution_big_model_thumb.png :alt: Multithreading with onnxruntime and big models :ref:`sphx_glr_gyexamples_plot_parallel_execution_big_model.py` .. raw:: html
Multithreading with onnxruntime and big models
.. raw:: html
.. toctree:: :hidden: /gyexamples/plot_qextend_onnxruntime /gyexamples/plot_benchmark_inference_standard /gyexamples/plot_cbegin_opset /gyexamples/plot_abegin_convert_pipeline /gyexamples/plot_gexternal_lightgbm /gyexamples/plot_gbegin_cst /gyexamples/plot_fbegin_investigate /gyexamples/plot_dbegin_options_list /gyexamples/plot_orttraining_nn_gpu_fwbw /gyexamples/plot_orttraining_nn_gpu /gyexamples/plot_woe_transformer /gyexamples/plot_gconverting /gyexamples/plot_orttraining_linear_regression_fwbw /gyexamples/plot_bbegin_measure_time /gyexamples/plot_gbegin_dataframe /gyexamples/plot_funny_sigmoid /gyexamples/plot_orttraining_linear_regression /gyexamples/plot_benchmark_onnx_serialize /gyexamples/plot_orttraining_nn_gpu_fwbw_nesterov /gyexamples/plot_kcustom_converter_wrapper /gyexamples/plot_gexternal_lightgbm_reg_per /gyexamples/plot_mcustom_parser /gyexamples/plot_profile_ort /gyexamples/plot_dbegin_options /gyexamples/plot_jcustom_syntax /gyexamples/plot_dbegin_options_zipmap /gyexamples/plot_lcustom_options /gyexamples/plot_gbegin_transfer_learning /gyexamples/plot_gexternal_xgboost /gyexamples/plot_profile_ort_onnx /gyexamples/plot_gexternal_lightgbm_reg_mono /gyexamples/plot_gexternal_lightgbm_reg /gyexamples/plot_icustom_converter /gyexamples/plot_ebegin_float_double /gyexamples/plot_benchmark_graph_opt /gyexamples/plot_orttraining_benchmark_fwbw /gyexamples/plot_orttraining_benchmark /gyexamples/plot_benchmark_op_leakyrelu /gyexamples/plot_transformer_discrepancy /gyexamples/plot_benchmark_op_short /gyexamples/plot_catwoe_transformer /gyexamples/plot_quantization /gyexamples/plot_benchmark_ort_api /gyexamples/plot_orttraining_benchmark_torch /gyexamples/plot_orttraining_benchmark_fwbw_cls /gyexamples/plot_usparse_xgboost /gyexamples/plot_benchmark_inference /gyexamples/plot_pextend_python_runtime /gyexamples/plot_benchmark_onnx_function /gyexamples/plot_benchmark_op /gyexamples/plot_mcustom_parser_dataframe /gyexamples/plot_parallel_execution /gyexamples/plot_orttraining_linear_regression_gpu /gyexamples/plot_benchmark_eager_mode /gyexamples/plot_orttraining_linear_regression_cpu /gyexamples/plot_parallel_execution_big_model .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: gyexamples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: gyexamples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_