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

Function getKeyFromTextureShape

tfjs-backend-webgl/src/texture_manager.ts:283–287  ·  view source on GitHub ↗
(
    shapeRowsCol: [number, number], physicalTexType: PhysicalTextureType,
    isPacked: boolean)

Source from the content-addressed store, hash-verified

281}
282
283function getKeyFromTextureShape(
284 shapeRowsCol: [number, number], physicalTexType: PhysicalTextureType,
285 isPacked: boolean): string {
286 return `${shapeRowsCol[0]}_${shapeRowsCol[1]}_${physicalTexType}_${isPacked}`;
287}

Callers 2

acquireTextureMethod · 0.85
releaseTextureMethod · 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…