PrePostProcessor Class
Main class for adding pre- and post- processing steps to existing ov::Model
Namespace: OpenVinoSharp.preprocessAssembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
public class PrePostProcessor : IDisposable
- Inheritance
- Object PrePostProcessor
- Implements
- IDisposable
This is a helper class for writing easy pre- and post- processing operations on ov::Model object assuming that
any preprocess operation takes one input and produces one output.
For advanced preprocessing scenarios, like combining several functions with multiple inputs/outputs into one,
client's code can use transformation passes over ov::Model
Ptr
|
[public]PrePostProcessor class pointer.
|
build
|
Adds pre/post-processing operations to function passed in constructor
|
Dispose
|
Release unmanaged resources
|
Finalize
|
Default destructor
(Overrides ObjectFinalize) |
input
|
Gets input pre-processing data structure. Should be used only if model/function has only one input
Using returned structure application's code is able to set user's tensor data (e.g layout), preprocess steps,
target model's data
|
input(String)
|
Gets input pre-processing data structure for input identified by it's tensor name
|
input(UInt64)
|
Gets input pre-processing data structure for input identified by it's order in a model
|
output
|
Gets output post-processing data structure. Should be used only if model/function has only one output
Using returned structure application's code is able to set model's output data, post-process steps, user's
tensor data (e.g layout)
|
output(String)
|
Gets output post-processing data structure for output identified by it's tensor name
|
output(UInt64)
|
Gets output post-processing data structure for output identified by it's order in a model
|
m_ptr
|
[private]PrePostProcessor class pointer.
|