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

Dimension Class

Class representing a dimension, which may be dynamic (undetermined until runtime), in a shape or shape-like object.

Definition

Namespace: OpenVinoSharp
Assembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
C#
public class Dimension
Inheritance
Object    Dimension

Remarks

Static dimensions may be implicitly converted from value_type. A dynamic dimension is constructed with Dimension() or Dimension::dynamic().

Constructors

Dimension(Int64) Construct a static dimension.
Dimension(Ovov_dimension) Construct a dynamic dimension with ov_dimension struct.
Dimension(Int64, Int64) Construct a dynamic dimension with bounded range

Methods

get_dimension Get ov_dimension struct.
get_max Get max.
get_min Get min.
is_dynamic Check this dimension whether is dynamic

Fields

m_dimension The ov_dimension struct.

See Also