Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tensorflow/tfjs
/ throwIfDisposed
Method
throwIfDisposed
tfjs-core/src/tensor.ts:459–463 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
457
}
458
459
throwIfDisposed() {
460
if
(this.isDisposed) {
461
throw
new
Error(`Tensor is disposed.`);
462
}
463
}
464
465
/**
466
* Prints the `tf.Tensor`. See `tf.print`
for
details.
Callers
15
data
Method · 0.95
dataToGPU
Method · 0.95
dataSync
Method · 0.95
bytes
Method · 0.95
clone
Method · 0.95
cast
Method · 0.95
variable
Method · 0.95
resize_nearest_neighbor.ts
File · 0.45
greater.ts
File · 0.45
sqrt.ts
File · 0.45
logical_not.ts
File · 0.45
depthwise_conv2d.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected