PreProcessSteps Class
Preprocessing steps. Each step typically intends adding of some operation to input parameter
User application can specify sequence of preprocessing steps in a builder-like manner
Namespace: OpenVinoSharp.preprocessAssembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
public class PreProcessSteps : IDisposable
- Inheritance
- Object PreProcessSteps
- Implements
- IDisposable
Ptr
|
[public]PreProcessSteps class pointer.
|
convert_color
|
Converts color format for user's input tensor. Requires source color format to be specified by
nputTensorInfo::set_color_format.
|
convert_element_type
|
Add convert element type preprocess operation.
|
convert_layout
|
Add 'convert layout' operation to specified layout.
|
crop(Int32, Int32)
|
Crop input tensor between begin and end coordinates. Under the hood, inserts `opset8::Slice` operation to
execution graph. It is recommended to use to together with `ov::preprocess::InputTensorInfo::set_shape` to set
original input shape before cropping
|
crop(ListInt32, ListInt32)
|
Crop input tensor between begin and end coordinates. Under the hood, inserts `opset8::Slice` operation to
execution graph. It is recommended to use to together with `ov::preprocess::InputTensorInfo::set_shape` to set
original input shape before cropping
|
Dispose
|
Release unmanaged resources
|
Finalize
|
Default destructor
(Overrides ObjectFinalize) |
mean(Single)
|
Add mean preprocess operation. Subtract specified value from each element of input.
|
mean(Single)
|
Add mean preprocess operation. Subtract specified value from each element of input.
|
resize
|
Add resize operation to model's dimensions.
|
reverse_channels
|
Reverse channels operation.
|
scale(Single)
|
Add scale preprocess operation. Divide each element of input by specified value.
|
scale(Single)
|
Add scale preprocess operation. Divide each element of input by specified value.
|
m_ptr
|
[private]PreProcessSteps class pointer.
|