FP-Devicer - v3.0.0
Preparing search index...
next/node-model-runtime
ProcessModelRuntime
Class ProcessModelRuntime<TInput, TFeatures>
JSON-lines bridge for application-owned Python, native, or worker runtimes.
Type Parameters
TInput
TFeatures
extends
Record
<
string
,
unknown
>
Implements
ModelRuntime
<
TInput
,
TFeatures
>
Index
Constructors
constructor
Methods
close
infer
Constructors
constructor
new
ProcessModelRuntime
<
TInput
,
TFeatures
extends
Record
<
string
,
unknown
>
>
(
options
:
ProcessModelRuntimeOptions
<
TInput
,
TFeatures
>
,
)
:
ProcessModelRuntime
<
TInput
,
TFeatures
>
Type Parameters
TInput
TFeatures
extends
Record
<
string
,
unknown
>
Parameters
options
:
ProcessModelRuntimeOptions
<
TInput
,
TFeatures
>
Returns
ProcessModelRuntime
<
TInput
,
TFeatures
>
Methods
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
infer
infer
(
input
:
TInput
,
context
:
ModelInferenceContext
)
:
Promise
<
TFeatures
>
Parameters
input
:
TInput
context
:
ModelInferenceContext
Returns
Promise
<
TFeatures
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
close
infer
FP-Devicer - v3.0.0
Loading...
JSON-lines bridge for application-owned Python, native, or worker runtimes.