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

Layout Constructor

Constructs a Layout with static or dynamic layout information based on string representation.

Definition

Namespace: OpenVinoSharp
Assembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
C#
public Layout(
	string layout_desc
)

Parameters

layout_desc  String
The string used to construct Layout from. The string representation can be in the following form: - can define order and meaning for dimensions "NCHW" - partial layout specialization: - "NC?" defines 3 dimensional layout, first two NC, 3rd one is not defined - "N...C" defines layout with dynamic rank where 1st dimension is N, last one is C - "NC..." defines layout with dynamic rank where first two are NC, others are not defined - only order of dimensions "adbc" (0312) - Advanced syntax can be used for multi-character names like "[N,C,H,W,...,CustomName]"

See Also