正在准备搜索索引...
搜索索引不可用
tvmjs
tvmjs
<internal>
FFILibrary
类 FFILibrary
内部
FFI 库 包装器,维护大部分运行时状态。
层次结构
FFILibrary
实现
Disposable
索引
构造器
constructor
属性
exports
memory
wasm32
webGPUContext?
方法
check
Call
dispose
get
Or
Alloc
Call
Stack
recycle
Call
Stack
sizeof
Ptr
构造器
constructor
new FFILibrary
(
wasmInstance
,
imports
)
:
FFILibrary
参数
wasmInstance
:
Instance
imports
:
Record
<
string
,
any
>
返回
FFILibrary
属性
exports
exports
:
Record
<
string
,
Function
>
memory
memory
:
Memory
wasm32
wasm32
:
boolean
可选
webGPUContext
webGPUContext
?:
WebGPUContext
方法
check
Call
check
Call
(
code
)
:
void
参数
code
:
number
返回
void
dispose
dispose
(
)
:
void
释放内部资源。此函数可以多次调用,但只有第一次调用会生效。
返回
void
get
Or
Alloc
Call
Stack
get
Or
Alloc
Call
Stack
(
)
:
CachedCallStack
返回
CachedCallStack
recycle
Call
Stack
recycle
Call
Stack
(
callstack
)
:
void
参数
callstack
:
CachedCallStack
返回
void
sizeof
Ptr
sizeof
Ptr
(
)
:
number
返回
number
设置
成员可见性
继承的
外部的
主题
操作系统
浅色
深色
在此页上
constructor
exports
memory
wasm32
webGPUContext
check
Call
dispose
get
Or
Alloc
Call
Stack
recycle
Call
Stack
sizeof
Ptr
tvmjs
<internal>
Asyncify
State
Kind
RPCServer
State
Asyncify
Handler
Cached
Call
Stack
Canvas
Render
Manager
Environment
FFILibrary
Memory
Packed
Func
Cell
Runtime
Context
TVMString
WebGPUContext
Function
Info
NDArray
Cache
Entry
NDArray
Shard
Entry
Async
Packed
Func
FObject
Constructor
FTVMWasm
Alloc
Space
FTVMWasm
Free
Space
FTVMWasm
PackedCFunc
Pointer
TVMObject
Base
Artifact
Cache
Artifact
IndexedDBCache
DLData
Type
DLDevice
Instance
Linear
Congruential
Generator
Module
NDArray
RPCServer
Scalar
TVMArray
TVMObject
Virtual
Machine
Artifact
Cache
Template
Disposable
GPUDevice
Detect
Output
Init
Progress
Report
Library
Provider
Init
Progress
Callback
Packed
Func
assert
create
PolyfillWASI
deleteNDArray
Cache
detectGPUDevice
hasNDArray
In
Cache
instantiate
wasm
Path
使用 TypeDoc 生成
FFI 库 包装器,维护大部分运行时状态。