Skip to content

bufferSource

bufferSource(buf): RangeSource

Defined in: packages/runntime/src/core/weights/safetensors.ts:33

Wraps bytes already in memory as a RangeSource, for a modelPath that is not a URL.

ArrayBuffer | Uint8Array<ArrayBufferLike>

RangeSource