MCPcopy Index your code
hub / github.com/tensorflow/tfjs / forceHalfFloat

Function forceHalfFloat

tfjs-backend-webgl/src/webgl.ts:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 * @doc {heading: 'Environment', namespace: 'webgl'}
34 */
35export function forceHalfFloat(): void {
36 env().set('WEBGL_FORCE_F16_TEXTURES', true);
37}

Callers 1

Calls 2

envFunction · 0.90
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…