Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
35
export
function
forceHalfFloat(): void {
36
env().set(
'WEBGL_FORCE_F16_TEXTURES'
, true);
37
}
Callers
1
flags_webgl_test.ts
File · 0.90
Calls
2
env
Function · 0.90
set
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…