Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

OpenVinoSharp Namespace

OpenVINO wrapper for .NET. This is the basic namespace of OpenVINO in C#, and all classes and methods are within this method. OpenVinoSharp.

Classes

CompiledModel This class represents a compiled model.
Core

This class represents an OpenVINO runtime Core entity.

ov_runtime_c#_api
Dimension Class representing a dimension, which may be dynamic (undetermined until runtime), in a shape or shape-like object.
InferRequest This is a class of infer request that can be run in asynchronous or synchronous manners.
Input A handle for one of a node's inputs.
Layout ov::Layout represents the text information of tensor's dimensions/axes. E.g. layout `NCHW` means that 4D tensor `{-1, 3, 480, 640}` will have: - 0: `N = -1`: batch dimension is dynamic - 1: `C = 3`: number of channels is '3' - 2: `H = 480`: image height is 480 - 3: `W = 640`: image width is 640
Model A user-defined model
NativeMethods Introducing C API.
Node Nodes are the backbone of the graph of Value dataflow. Every node has zero or more nodes as arguments and one value, which is either a tensor or a (possibly empty) tuple of values.
Output A handle for one of a node's outputs.
Ov Global functions under ov namespace
OvType The class of data type, mainly used for model data types.
PartialShape Class representing a shape that may be partially or totally dynamic.
RemoteContext This class represents an abstraction for remote (non-CPU) accelerator device-specific inference context. Such context represents a scope on the device within which compiled models and remote memory tensors can exist, function, and exchange data.
Shape Shape for a tensor.
Tensor Tensor API holding host memory. It can throw exceptions safely for the application, where it is properly handled.

Structures

Coreov_available_devices_t Represent all available devices.
CoreVersion [struct] Represents version information that describes device and ov runtime library
CoreVersionList [struct] Represents version information that describes all devices and ov runtime library
Ovov_dimension This is a structure interface equal to ov::Dimension
Ovov_partial_shape It represents a shape that may be partially or totally dynamic.
Ovov_profiling_info_list A list of profiling info data
Ovov_rank This is a structure interface equal to ov::Rank
Ovov_shape Reprents a static shape.
OvProfilingInfo Represents basic inference profiling information per operation.
Version [struct] Represents version information that describes plugins and the OpenVINO library

Enumerations

ElementType This enum contains codes for element type.
ExceptionStatus This enum contains codes for all possible return values of the interface functions
NodeNodeType The node type.
OvProfilingInfoStatus Defines the general status of a node.
PropertyKey A header for advanced hardware specific properties for OpenVINO runtime devices. To use in set_property, compile_model, import_model, get_property methods.