InputModelInfo Class
Information about model's input tensor. If all information is already included to loaded model, this info
may not be needed. However it can be set to specify additional information about model, like 'layout'.
Namespace: OpenVinoSharp.preprocessAssembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
public class InputModelInfo : IDisposable
- Inheritance
- Object InputModelInfo
- Implements
- IDisposable
Example of usage of model 'layout':
Support model has input parameter with shape {1, 3, 224, 224} and user needs to resize input image to model's
dimensions. It can be done like this
Ptr
|
[public]InputModelInfo class pointer.
|
Dispose
|
Release unmanaged resources
|
Finalize
|
Default destructor
(Overrides ObjectFinalize) |
set_layout
|
Set layout for model's input tensor. This version allows chaining for Lvalue objects
|
m_ptr
|
[private]InputModelInfo class pointer.
|