rullino
Preparing search index...
@rullino/ml
OrtModule
Interface OrtModule
The parts of the
onnxruntime-web
module used here (pass the module itself).
interface
OrtModule
{
InferenceSession
:
{
create
(
model
:
Uint8Array
,
options
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
OrtSession
>
;
}
;
Tensor
:
new
(
type
:
"float32"
|
"int64"
|
"uint8"
,
data
:
|
Uint8Array
<
ArrayBufferLike
>
|
Float32Array
<
ArrayBufferLike
>
|
BigInt64Array
<
ArrayBufferLike
>
,
dims
:
readonly
number
[]
,
)
=>
OrtTensor
;
}
Index
Properties
Inference
Session
Tensor
Properties
Readonly
Inference
Session
InferenceSession
:
{
create
(
model
:
Uint8Array
,
options
?:
Record
<
string
,
unknown
>
,
)
:
Promise
<
OrtSession
>
;
}
Readonly
Tensor
Tensor
:
new
(
type
:
"float32"
|
"int64"
|
"uint8"
,
data
:
|
Uint8Array
<
ArrayBufferLike
>
|
Float32Array
<
ArrayBufferLike
>
|
BigInt64Array
<
ArrayBufferLike
>
,
dims
:
readonly
number
[]
,
)
=>
OrtTensor
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
Inference
Session
Tensor
rullino
Loading...
The parts of the
onnxruntime-webmodule used here (pass the module itself).