MCPcopy 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

dataMethod · 0.95
dataToGPUMethod · 0.95
dataSyncMethod · 0.95
bytesMethod · 0.95
cloneMethod · 0.95
castMethod · 0.95
variableMethod · 0.95
greater.tsFile · 0.45
sqrt.tsFile · 0.45
logical_not.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected