Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs
/ enableDebugMode
Function
enableDebugMode
tfjs-core/src/globals.ts:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
* @doc {heading:
'Environment'
}
50
*/
51
export
function
enableDebugMode(): void {
52
env().set(
'DEBUG'
, true);
53
}
54
55
/** Globally disables deprecation warnings */
56
export
function
disableDeprecationWarnings(): void {
Callers
nothing calls this directly
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…