Interface CompiledModel
interface CompiledModel {
inputs : Output [];
outputs : Output [];
createInferRequest () : InferRequest ;
exportModelSync () : Buffer ;
input () : Output ;
input ( index ) : Output ;
input ( name ) : Output ;
output () : Output ;
output ( index ) : Output ;
output ( name ) : Output ;
}
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
CompiledModel represents a model that is compiled for a specific device by applying
multiple optimization transformations, then mapping to compute kernels.
Properties
inputs
outputs
Methods
createInferRequest
exportModelSync
exportModelSync () : Buffer
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
input
input () : Output
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
It gets a single input of a compiled model. If a model has more than one input,
this method throws an exception.
input ( index ) : Output
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
It gets input of a compiled model identified by an index.
Parameters:
index: number
An input tensor index.
Returns: Output
A compiled model input.
Defined in:
addon.ts:318
input ( name ) : Output
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
It gets input of a compiled model identified by an index.
Parameters:
name: string
An input tensor name.
Returns: Output
A compiled model input.
Defined in:
addon.ts:324
output
output () : Output
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
It gets a single output of a compiled model. If a model has more than one output, this method throws an exception.
output ( index ) : Output
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
It gets output of a compiled model identified by an index.
Parameters:
index : number
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
An output tensor index.
Returns: Output
A compiled model output.
Defined in:
addon.ts:300
output ( name ) : Output
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
It gets output of a compiled model identified by a tensorName.
Parameters:
name : string
Interface CompiledModel — OpenVINO™ documentationCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboardCopy to clipboard — Version(wp-content)
An output tensor name.
Returns: Output
A compiled model output.
Defined in:
addon.ts:306