Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tensorflow/tfjs
/ assertNotDisposed
Method
assertNotDisposed
tfjs-layers/src/variables.ts:117–121 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
115
}
116
117
protected assertNotDisposed(): void {
118
if
(this.val.isDisposed) {
119
throw
new
Error(`LayersVariable ${this.name} is already disposed.`);
120
}
121
}
122
123
get trainable(): boolean {
124
return
this.trainable_;
Callers
6
read
Method · 0.95
write
Method · 0.95
dispose
Method · 0.95
dispose
Function · 0.80
apply
Function · 0.80
dispose
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected