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

Function getUnpackedArraySizeFromMatrixSize

tfjs-backend-webgl/src/tex_util.ts:109–112  ·  view source on GitHub ↗
(
    matrixSize: number, channelsPerTexture: number)

Source from the content-addressed store, hash-verified

107}
108
109export function getUnpackedArraySizeFromMatrixSize(
110 matrixSize: number, channelsPerTexture: number): number {
111 return matrixSize * channelsPerTexture;
112}
113
114export function getColorMatrixTextureShapeWidthHeight(
115 rows: number, columns: number): [number, number] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…