openvino#

Functions

compile_model(model[, device_name, config])

Compact method to compile model with AUTO plugin.

convert_model(input_model[, input, output, ...])

Converts the model from original framework to OpenVino Model.

get_batch(*args, **kwargs)

Overloaded function.

get_version()

lazy_import(module_name)

save_model(model, output_model[, ...])

Save model into IR files (xml and bin).

serialize(model, xml_path[, bin_path, version])

Serialize given model into IR.

set_batch(*args, **kwargs)

Overloaded function.

shutdown()

Shut down the OpenVINO by deleting all static-duration objects allocated by the library and releasing dependent resources

tensor_from_file(path)

Create Tensor from file.

Classes

AsyncInferQueue

AsyncInferQueue with a pool of asynchronous requests.

AxisSet

openvino.AxisSet wraps ov::AxisSet

AxisVector

openvino.AxisVector wraps ov::AxisVector

CompiledModel(other[, weights])

CompiledModel class.

ConstOutput

openvino.ConstOutput represents port/node output.

Coordinate

openvino.Coordinate wraps ov::Coordinate

CoordinateDiff

openvino.CoordinateDiff wraps ov::CoordinateDiff

Core

Core class represents OpenVINO runtime Core entity.

Dimension

openvino.Dimension wraps ov::Dimension

DiscreteTypeInfo

openvino.DiscreteTypeInfo wraps ov::DiscreteTypeInfo

Extension

openvino.Extension provides the base interface for OpenVINO extensions.

InferRequest(other)

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

Input

openvino.Input wraps ov::Input<Node>

Layout

openvino.Layout wraps ov::Layout

Model(*args, **kwargs)

Node

openvino.Node wraps ov::Node

OVAny

openvino.OVAny provides object wrapper for OpenVINOov::Any class.

Op(py_obj[, inputs])

OpExtension

openvino.OpExtension provides the base interface for OpenVINO extensions.

Output

openvino.Output represents port/node output.

PartialShape

openvino.PartialShape wraps ov::PartialShape

ProfilingInfo

openvino.ProfilingInfo contains performance metrics for single node.

RTMap

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

RemoteContext

RemoteTensor

Shape

openvino.Shape wraps ov::Shape

Strides

openvino.Strides wraps ov::Strides

Symbol

openvino.Symbol wraps ov::Symbol

Tensor

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

Type

openvino.Type wraps ov::element::Type

VAContext

VASurfaceTensor

Version

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