MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / build

Function build

src/compute-engine/compilation/gpu-target.ts:764–771  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

762 ? 'a matrix/tensor value'
763 : `${n} component${n === 1 ? '' : 's'} — a complex value or a ` +
764 `nested tuple/list`;
765 throw new Error(
766 `${ctor}: a tuple/list element that is itself vector-valued ` +
767 `(${shape}) has no GPU ` +
768 `lowering; a ${ctor} constructor takes scalar components. Fail closed.`
769 );
770 }
771}
772
773/**
774 * A NaN matching the SHAPE of `val`: scalar NaN for a scalar value, a

Callers 1

gpu-target.tsFile · 0.70

Calls 4

isSymbolFunction · 0.90
gpuNaNFunction · 0.85
gpuConditionalFunction · 0.85
compileFunction · 0.70

Tested by

no test coverage detected