FP-Devicer - v3.0.0
Preparing search index...
next
ModelRuntime
Interface ModelRuntime<TInput, TFeatures>
interface
ModelRuntime
<
TInput
,
TFeatures
extends
Record
<
string
,
unknown
>
>
{
close
?
()
:
void
|
Promise
<
void
>
;
infer
(
input
:
TInput
,
context
:
ModelInferenceContext
,
)
:
TFeatures
|
Promise
<
TFeatures
>
;
}
Type Parameters
TInput
TFeatures
extends
Record
<
string
,
unknown
>
Implemented by
ProcessModelRuntime
Index
Methods
close?
infer
Methods
Optional
close
close
?
()
:
void
|
Promise
<
void
>
Returns
void
|
Promise
<
void
>
infer
infer
(
input
:
TInput
,
context
:
ModelInferenceContext
,
)
:
TFeatures
|
Promise
<
TFeatures
>
Parameters
input
:
TInput
context
:
ModelInferenceContext
Returns
TFeatures
|
Promise
<
TFeatures
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
close
infer
FP-Devicer - v3.0.0
Loading...