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

InputTensorInfoset_spatial_static_shape Method

By default, input image shape is inherited from model input shape. Use this method to specify different width and height of user's input image. In case if input image size is not known, use `set_spatial_dynamic_shape` method.

Definition

Namespace: OpenVinoSharp.preprocess
Assembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
C#
public InputTensorInfo set_spatial_static_shape(
	ulong input_height,
	ulong input_width
)

Parameters

input_height  UInt64
Set fixed user's input image height.
input_width  UInt64
Set fixed user's input image width.

Return Value

InputTensorInfo
Reference to 'this' to allow chaining with other calls in a builder-like manner.

See Also