MCPcopy Create free account
hub / github.com/tensorflow/tfjs / assertNotDisposed

Function assertNotDisposed

tfjs-layers/src/engine/container.ts:485–489  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

483 }
484
485 protected override assertNotDisposed() {
486 if (this._refCount === 0) {
487 throw new Error(`Container '${this.name}' is already disposed.`);
488 }
489 }
490
491 /**
492 * Attempt to dispose a LayersModel's weights.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…