Contents Menu Expand Light mode Dark mode Auto light/dark mode
Python API 1.15.0 documentation
Logo
Python API 1.15.0 documentation
  • Tutorial
  • API
  • Gallery of examples
    • Draw a pipeline
    • Load and predict with ONNX Runtime and a very simple model
    • ONNX Runtime Backend for ONNX
    • Metadata
    • Profile the execution of a simple model
    • Train, convert and predict with ONNX Runtime
    • Common errors with onnxruntime
    • Train, convert and predict with ONNX Runtime
  • ONNX Operators in onnxruntime
    • Abs
    • Acos
    • Acosh
    • Add
    • Affine
    • And
    • ArgMax
    • ArgMin
    • Asin
    • Asinh
    • Atan
    • Atanh
    • AveragePool
    • BatchNormalization
    • Bernoulli
    • BitShift
    • BitwiseAnd
    • BitwiseNot
    • BitwiseOr
    • BitwiseXor
    • BlackmanWindow
    • Cast
    • CastLike
    • Ceil
    • Celu
    • CenterCropPad
    • Clip
    • Col2Im
    • Compress
    • Concat
    • ConcatFromSequence
    • Constant
    • ConstantOfShape
    • Conv
    • ConvInteger
    • ConvTranspose
    • Cos
    • Cosh
    • Crop
    • CumSum
    • DFT
    • DepthToSpace
    • DequantizeLinear
    • Det
    • DisentangledAttention_TRT
    • Div
    • Dropout
    • DynamicQuantizeLinear
    • DynamicSlice
    • EfficientNMS_TRT
    • Einsum
    • Elu
    • Equal
    • Erf
    • Exp
    • Expand
    • EyeLike
    • Flatten
    • Floor
    • GRU
    • GRUUnit
    • Gather
    • GatherElements
    • GatherND
    • Gemm
    • GivenTensorFill
    • GlobalAveragePool
    • GlobalLpPool
    • GlobalMaxPool
    • Greater
    • GreaterOrEqual
    • GridSample
    • GroupNormalization
    • HammingWindow
    • HannWindow
    • HardSigmoid
    • HardSwish
    • Hardmax
    • Identity
    • If
    • ImageScaler
    • InstanceNormalization
    • IsInf
    • IsNaN
    • LRN
    • LSTM
    • LayerNormalization
    • LeakyRelu
    • Less
    • LessOrEqual
    • Log
    • LogSoftmax
    • Loop
    • LpNormalization
    • LpPool
    • MatMul
    • MatMulInteger
    • Max
    • MaxPool
    • MaxRoiPool
    • MaxUnpool
    • Mean
    • MeanVarianceNormalization
    • MelWeightMatrix
    • MemcpyFromHost
    • MemcpyToHost
    • Min
    • Mish
    • Mod
    • Mul
    • MultilevelCropAndResize_TRT
    • Multinomial
    • Neg
    • NegativeLogLikelihoodLoss
    • NonMaxSuppression
    • NonZero
    • Not
    • OneHot
    • Optional
    • OptionalGetElement
    • OptionalHasElement
    • Or
    • PRelu
    • Pad
    • ParametricSoftplus
    • Pow
    • PyramidROIAlign_TRT
    • QLinearConv
    • QLinearMatMul
    • QuantizeLinear
    • RNN
    • RandomNormal
    • RandomNormalLike
    • RandomUniform
    • RandomUniformLike
    • Range
    • Reciprocal
    • ReduceL1
    • ReduceL2
    • ReduceLogSum
    • ReduceLogSumExp
    • ReduceMax
    • ReduceMean
    • ReduceMin
    • ReduceProd
    • ReduceSum
    • ReduceSumSquare
    • Relu
    • Reshape
    • Resize
    • ReverseSequence
    • RoiAlign
    • Round
    • STFT
    • Scale
    • ScaledTanh
    • Scan
    • Scatter
    • ScatterElements
    • ScatterND
    • Selu
    • SequenceAt
    • SequenceConstruct
    • SequenceEmpty
    • SequenceErase
    • SequenceInsert
    • SequenceLength
    • SequenceMap
    • Shape
    • Shrink
    • Sigmoid
    • Sign
    • SimplifiedLayerNormalization
    • Sin
    • Sinh
    • Size
    • Slice
    • Softmax
    • SoftmaxCrossEntropyLoss
    • Softplus
    • Softsign
    • SpaceToDepth
    • Split
    • SplitToSequence
    • Sqrt
    • Squeeze
    • StringNormalizer
    • Sub
    • Sum
    • Tan
    • Tanh
    • TfIdfVectorizer
    • ThresholdedRelu
    • Tile
    • TopK
    • Transpose
    • Trilu
    • Unique
    • Unsqueeze
    • Upsample
    • Where
    • Xor
    • ai.onnx.ml - ArrayFeatureExtractor
    • ai.onnx.ml - Binarizer
    • ai.onnx.ml - CastMap
    • ai.onnx.ml - CategoryMapper
    • ai.onnx.ml - DictVectorizer
    • ai.onnx.ml - FeatureVectorizer
    • ai.onnx.ml - Imputer
    • ai.onnx.ml - LabelEncoder
    • ai.onnx.ml - LinearClassifier
    • ai.onnx.ml - LinearRegressor
    • ai.onnx.ml - Normalizer
    • ai.onnx.ml - OneHotEncoder
    • ai.onnx.ml - SVMClassifier
    • ai.onnx.ml - SVMRegressor
    • ai.onnx.ml - Scaler
    • ai.onnx.ml - TreeEnsembleClassifier
    • ai.onnx.ml - TreeEnsembleRegressor
    • ai.onnx.ml - ZipMap
    • com.microsoft - Attention
    • com.microsoft - AttnLSTM
    • com.microsoft - BeamSearch
    • com.microsoft - BiasAdd
    • com.microsoft - BiasDropout
    • com.microsoft - BiasGelu
    • com.microsoft - BiasSoftmax
    • com.microsoft - BiasSplitGelu
    • com.microsoft - BifurcationDetector
    • com.microsoft - BitmaskBiasDropout
    • com.microsoft - BitmaskDropout
    • com.microsoft - CDist
    • com.microsoft - ComplexMul
    • com.microsoft - ComplexMulConj
    • com.microsoft - ConvTransposeWithDynamicPads
    • com.microsoft - CropAndResize
    • com.microsoft - DecoderAttention
    • com.microsoft - DecoderMaskedMultiheadAttention
    • com.microsoft - DequantizeBFP
    • com.microsoft - DequantizeLinear
    • com.microsoft - DequantizeWithOrder
    • com.microsoft - DynamicQuantizeLSTM
    • com.microsoft - DynamicQuantizeMatMul
    • com.microsoft - EmbedLayerNormalization
    • com.microsoft - ExpandDims
    • com.microsoft - FastGelu
    • com.microsoft - FusedConv
    • com.microsoft - FusedGemm
    • com.microsoft - FusedMatMul
    • com.microsoft - GatedRelativePositionBias
    • com.microsoft - GatherND
    • com.microsoft - Gelu
    • com.microsoft - GemmFastGelu
    • com.microsoft - GreedySearch
    • com.microsoft - GridSample
    • com.microsoft - GroupNorm
    • com.microsoft - Inverse
    • com.microsoft - Irfft
    • com.microsoft - IsAllFinite
    • com.microsoft - LongformerAttention
    • com.microsoft - MatMulInteger16
    • com.microsoft - MatMulIntegerToFloat
    • com.microsoft - MaxpoolWithMask
    • com.microsoft - MulInteger
    • com.microsoft - MultiHeadAttention
    • com.microsoft - MurmurHash3
    • com.microsoft - NGramRepeatBlock
    • com.microsoft - NhwcConv
    • com.microsoft - NhwcMaxPool
    • com.microsoft - Pad
    • com.microsoft - QAttention
    • com.microsoft - QEmbedLayerNormalization
    • com.microsoft - QGemm
    • com.microsoft - QLinearAdd
    • com.microsoft - QLinearAveragePool
    • com.microsoft - QLinearConcat
    • com.microsoft - QLinearConv
    • com.microsoft - QLinearGlobalAveragePool
    • com.microsoft - QLinearLeakyRelu
    • com.microsoft - QLinearMul
    • com.microsoft - QLinearReduceMean
    • com.microsoft - QLinearSigmoid
    • com.microsoft - QLinearSoftmax
    • com.microsoft - QLinearWhere
    • com.microsoft - QOrderedAttention
    • com.microsoft - QOrderedGelu
    • com.microsoft - QOrderedLayerNormalization
    • com.microsoft - QOrderedLongformerAttention
    • com.microsoft - QOrderedMatMul
    • com.microsoft - QuantizeBFP
    • com.microsoft - QuantizeLinear
    • com.microsoft - QuantizeWithOrder
    • com.microsoft - QuickGelu
    • com.microsoft - Range
    • com.microsoft - ReduceSumInteger
    • com.microsoft - RelativePositionBias
    • com.microsoft - RemovePadding
    • com.microsoft - RestorePadding
    • com.microsoft - Rfft
    • com.microsoft - SampleOp
    • com.microsoft - Sampling
    • com.microsoft - SkipLayerNormalization
    • com.microsoft - SkipSimplifiedLayerNormalization
    • com.microsoft - Snpe
    • com.microsoft - SparseToDenseMatMul
    • com.microsoft - Tokenizer
    • com.microsoft - TorchEmbedding
    • com.microsoft - TransposeMatMul
    • com.microsoft - Trilu
    • com.microsoft - Unique
    • com.microsoft - WordConvEmbedding
    • com.microsoft.nchwc - AveragePool
    • com.microsoft.nchwc - Conv
    • com.microsoft.nchwc - GlobalAveragePool
    • com.microsoft.nchwc - GlobalMaxPool
    • com.microsoft.nchwc - MaxPool
    • com.microsoft.nchwc - ReorderInput
    • com.microsoft.nchwc - ReorderOutput
    • com.microsoft.nchwc - Upsample
    • com.ms.internal.nhwc - AveragePool
    • com.ms.internal.nhwc - Conv
    • com.ms.internal.nhwc - ConvTranspose
    • com.ms.internal.nhwc - MaxPool
    • com.ms.internal.nhwc - MaxUnpool
    • com.ms.internal.nhwc - QLinearAveragePool
    • com.ms.internal.nhwc - QLinearConv
    • com.ms.internal.nhwc - QLinearConvTranspose
Back to top

Gallery of examples#

Draw a pipeline

Draw a pipeline

Load and predict with ONNX Runtime and a very simple model

Load and predict with ONNX Runtime and a very simple model

ONNX Runtime Backend for ONNX

ONNX Runtime Backend for ONNX

Metadata

Metadata

Profile the execution of a simple model

Profile the execution of a simple model

Train, convert and predict with ONNX Runtime

Train, convert and predict with ONNX Runtime

Common errors with onnxruntime

Common errors with onnxruntime

Train, convert and predict with ONNX Runtime

Train, convert and predict with ONNX Runtime

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Next
Draw a pipeline
Previous
API
Copyright © 2018-2023, Microsoft
Made with Sphinx and @pradyunsg's Furo
On this page
  • Gallery of examples