initRunntime
initRunntime(
root):RunntimeExecutor
Defined in: packages/runntime/src/core/gpu/eval.ts:80
Sets the device every model runs on and returns its executor. Call it
once at startup, before the first create
Parameters
Section titled “Parameters”TgpuRoot
Returns
Section titled “Returns”RunntimeExecutor