Model Class
A user-defined model
Namespace: OpenVinoSharpAssembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
public class Model : IDisposable
- Inheritance
- Object Model
- Implements
- IDisposable
Ptr
|
[public]Model class pointer.
|
const_input
|
Get single const input of model, which only support single input model.
|
const_input(String)
|
Get an const input of model by name.
|
const_input(UInt64)
|
Get an const input of model by port index.
|
const_inputs
|
Get all const input of model.
|
const_output
|
Get single const output of model, which only support single output model.
|
const_output(String)
|
Get an const output of model by name.
|
const_output(UInt64)
|
Get an const output of model by port index.
|
const_outputs
|
Get all const output of model
|
Dispose
|
Release unmanaged resources
|
Finalize
|
Model's destructor
(Overrides ObjectFinalize) |
get_const_input
|
Get a const single input port of model, which only support single input model.
|
get_const_input(String)
|
Get a const input port of model by name.
|
get_const_input(UInt64)
|
Get a const input port of model by port index.
|
get_const_output
|
Get a single const output port of model, which only support single output model..
|
get_const_output(String)
|
Get a const output port of model by port index.
|
get_const_output(UInt64)
|
Get a const output port of model by name.
|
get_friendly_name
|
Gets the friendly name for a model.
|
get_input
|
Get single input port of model, which only support single input model.
|
get_input(String)
|
Get an input port of model by name.
|
get_input(UInt64)
|
Get an input port of model by port index.
|
get_inputs_size
|
Get the input size of model.
|
get_output
|
Get an single output port of model, which only support single output model.
|
get_output(String)
|
Get an output port of model by name.
|
get_output(UInt64)
|
Get an output port of model by port index.
|
get_outputs_size
|
Get the output size of model.
|
input
|
Get single input of model, which only support single input model.
|
input(String)
|
Get an input of model by name.
|
input(UInt64)
|
Get an input of model by port index.
|
inputs
|
Get all input of model.
|
is_dynamic
|
The ops defined in the model is dynamic shape.
|
output
|
Get single input of model, which only support single input model.
|
output(String)
|
Get an output of model by name.
|
output(UInt64)
|
Get an output of model by port index.
|
outputs
|
Get all output of model
|
reshape(DictionaryNode, PartialShape)
|
Do reshape in model with a list of (ov_output_port_t, partial shape).
|
reshape(DictionaryString, PartialShape)
|
Do reshape in model with partial shape for a specified name.
|
reshape(DictionaryUInt64, PartialShape)
|
Do reshape in model with a list of (port id, partial shape).
|
reshape(PartialShape)
|
Do reshape in model for one node(port 0).
|
m_ptr
|
[private]Model class pointer.
|