openvino.runtime

openvino module namespace, exposing factory functions for all ops and other classes.

Functions

compile_model(model_path)

Compact method to compile model with AUTO plugin.

get_batch(arg0)

get_distribution(dist)

Return a current distribution object for a Requirement or string

get_version()

set_batch(*args, **kwargs)

Overloaded function.

tensor_from_file(path)

Create Tensor from file.

Classes

AsyncInferQueue

AsyncInferQueue with pool of asynchronous requests.

AxisSet

openvino.runtime.AxisSet wraps ov::AxisSet

AxisVector

openvino.runtime.AxisVector wraps ov::AxisVector

CompiledModel

CompiledModel class.

ConstOutput

openvino.runtime.ConstOutput represents port/node output.

Coordinate

openvino.runtime.Coordinate wraps ov::Coordinate

CoordinateDiff

openvino.runtime.CoordinateDiff wraps ov::CoordinateDiff

Core

Core class represents OpenVINO runtime Core entity.

Dimension

openvino.runtime.Dimension wraps ov::Dimension

DiscreteTypeInfo

openvino.runtime.DiscreteTypeInfo wraps ov::DiscreteTypeInfo

Extension

openvino.runtime.Extension provides the base interface for OpenVINO extensions.

InferRequest

InferRequest class represents infer request which can be run in asynchronous or synchronous manners.

Input

openvino.runtime.Input wraps ov::Input<Node>

Layout

openvino.runtime.Layout wraps ov::Layout

Model

openvino.runtime.Model wraps ov::Model

Node

openvino.runtime.Node wraps ov::Node

OVAny

OVAny wrapper.

Output

openvino.runtime.Output represents port/node output.

Parameter

PartialShape

openvino.runtime.PartialShape wraps ov::PartialShape

ProfilingInfo

openvino.runtime.ProfilingInfo contains performance metrics for single node.

RTMap

openvino.runtime.RTMap makes bindings for std::map<std::string, ov::Any>, which can later be used as ov::Node::RTMap

Shape

openvino.runtime.Shape wraps ov::Shape

Strides

openvino.runtime.Strides wraps ov::Strides

Tensor

openvino.runtime.Tensor holding either copy of memory or shared host memory.

Type

openvino.runtime.Type wraps ov::element::Type

Version

openvino.runtime.Version represents version information that describes plugins and the OpenVINO library.

Exceptions

DistributionNotFound

A requested distribution was not found