MCPcopy Create free account
hub / github.com/tensorflow/tfjs / isFlatDispatch

Function isFlatDispatch

tfjs-backend-webgpu/src/webgpu_program.ts:778–780  ·  view source on GitHub ↗
(program: WebGPUProgram)

Source from the content-addressed store, hash-verified

776}
777
778function isFlatDispatch(program: WebGPUProgram): boolean {
779 return program.dispatch[1] === 1 && program.dispatch[2] === 1;
780}
781
782export function dataTypeToGPUType(type: DataType, component = 1) {
783 if (type === 'float32') {

Callers 2

makeShaderFunction · 0.85
makeShaderKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…