Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs
/ nextVariableId
Method
nextVariableId
tfjs-core/src/engine.ts:495–497 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
493
494
private static nextVariableId = 0;
495
private nextVariableId(): number {
496
return
Engine.nextVariableId++;
497
}
498
499
/**
500
* This method is called instead of the public-facing tensor.clone() when
Callers
1
makeVariable
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected