准备搜索索引...
搜索索引不可用
tvmjs
tvmjs
DLDataType
Class DLDataType
NDArray 的运行时数据类型。
层级结构
DLDataType
索引
构造函数
constructor
属性
bits(位)
code(代码)
lanes(通道数)
方法
numStorageBytes(存储字节数)
toString(转换为字符串)
构造函数
constructor(构造函数)
new DLData
Type
(
code
,
bits
,
lanes
)
:
DLDataType
参数
code
:
number
bits
:
number
lanes
:
number
返回值
DLDataType
属性
bits(位)
bits
:
number
数据类型中的位数。
code(代码)
code
:
number
类型代码
lanes(通道数)
lanes
:
number
向量通道数。
方法
numStorageBytes(存储字节数)
numStorageBytes
(
)
:
number
返回值
number
toString(转换为字符串)
toString
(
)
:
string
返回值
string
设置
成员可见性
继承
外部
主题
操作系统
浅色
深色
本页内容
constructor
bits(位)
code(代码)
lanes(通道数)
numStorageBytes(存储字节数)
toString(转换为字符串)
tvmjs
<internal>(内部)
Asyncify
State
Kind(异步化状态类型)
RPCServer
State(RPC服务器状态)
Asyncify
Handler(异步化处理程序)
Cached
Call
Stack(缓存调用堆栈)
Canvas
Render
Manager(画布渲染管理器)
Environment(环境)
FFILibrary(FFI库)
Memory(内存)
Packed
Func
Cell(PackedFunc单元)
Runtime
Context(运行时上下文)
TVMString(TVM字符串)
WebGPUContext(WebGPU上下文)
Function
Info(函数信息)
NDArray
Cache
Entry(NDArray缓存条目)
NDArray
Shard
Entry(NDArray分片条目)
Async
Packed
Func(异步PackedFunc)
FObject
Constructor(FObject构造器)
FTVMWasm
Alloc
Space(FTVMWasm分配空间)
FTVMWasm
Free
Space(FTVMWasm释放空间)
FTVMWasm
PackedCFunc(FTVMWasm PackedCFunc)
Pointer(指针)
TVMObject
Base(TVMObject基类)
Artifact
Cache(工件缓存)
Artifact
IndexedDBCache(工件 IndexedDBCache)
DLData
Type(DLDataType)
DLDevice(DLDevice)
Instance(实例)
Linear
Congruential
Generator(线性同余生成器)
Module(模块)
NDArray(NDArray)
RPCServer(RPC服务器)
Scalar(标量)
TVMArray(TVMArray)
TVMObject(TVMObject)
Virtual
Machine(虚拟机)
Artifact
Cache
Template(工件缓存模板)
Disposable(可释放)
GPUDevice
Detect
Output(GPUDevice检测输出)
Init
Progress
Report(初始化进度报告)
Library
Provider(库提供器)
Init
Progress
Callback(初始化进度回调)
Packed
Func(PackedFunc)
assert(断言)
create
PolyfillWASI(创建PolyfillWASI)
deleteNDArray
Cache(删除NDArray缓存)
detectGPUDevice(检测GPUDevice)
hasNDArray
In
Cache(缓存中是否存在NDArray)
instantiate(实例化)
wasm
Path(wasm路径)
Generated using
TypeDoc
NDArray 的运行时数据类型。