DriftTexture · interface
StoredGraph
A graph as a file stores it: its tensors in either precision, half as the bits a device uploads.
@driftengine/drft's DrftGraph is one, structurally, which is how the two packages meet
without either importing the other.
Explained in DriftTexture.
interface StoredGraphimport type { StoredGraph } from '@driftengine/texture';Properties
| Name | Type | Description |
|---|---|---|
inputsreadonly | readonly GraphValue[] | |
outputsreadonly | readonly string[] | |
nodesreadonly | readonly GraphNode[] | |
tensorsreadonly | readonly { readonly name: string; readonly shape: readonly number[]; readonly data: Float32Array | Uint16Array; }[] |