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

InputTensorInfo Class

Information about user's input tensor. By default, it will be initialized to same data (type/shape/etc) as model's input parameter. User application can override particular parameters (like 'element_type') according to application's data and specify appropriate conversions in pre-processing steps

Definition

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

Constructors

InputTensorInfo Default construction through InputTensorInfo pointer.

Properties

Ptr [public]InputTensorInfo class pointer.

Methods

Dispose Release unmanaged resources
Finalize Default destructor
(Overrides ObjectFinalize)
set_color_format Set color format for user's input tensor.
set_element_type Set element type for user's input tensor
set_from  
set_layout Set layout for user's input tensor
set_memory_type Set memory type runtime information for user's input tensor
set_spatial_static_shape 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.

Fields

m_ptr [private]InputTensorInfo class pointer.

See Also