准备搜索索引...
搜索索引不可用
tvmjs
tvmjs
TVMObject
类 TVMObject
通用对象基类
继承关系
TVMObject
TVMArray
TVMString
实现
Disposable
索引
构造函数
constructor
方法
dispose
get
Handle
type
Index
type
Key
构造函数
constructor
new TVMObject
(
handle
,
lib
,
ctx
)
:
TVMObject
参数
handle
:
number
lib
:
FFILibrary
ctx
:
RuntimeContext
返回
TVMObject
方法
dispose
dispose
(
)
:
void
释放内部资源。此函数可以多次调用,但只有第一次调用会生效。
返回
void
get
Handle
get
Handle
(
requireNotNull
?
)
:
number
获取模块句柄,并检查它是否为空。
参数
requireNotNull
:
boolean
= true
要求句柄不为空。
返回
number
句柄。
type
Index
type
Index
(
)
:
number
获取对象的类型索引
返回
number
type
Key
type
Key
(
)
:
string
获取对象的类型键
返回
string
设置
成员可见性
继承的
外部的
主题
操作系统
浅色
深色
在此页上
constructor
dispose
get
Handle
type
Index
type
Key
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
生成
通用对象基类