MCPcopy Index your code
hub / github.com/tensorflow/tfjs / dispose

Method dispose

tfjs-layers/src/variables.ts:112–115  ·  view source on GitHub ↗

* Dispose this LayersVariable instance from memory.

()

Source from the content-addressed store, hash-verified

110 * Dispose this LayersVariable instance from memory.
111 */
112 dispose(): void {
113 this.assertNotDisposed();
114 this.val.dispose();
115 }
116
117 protected assertNotDisposed(): void {
118 if (this.val.isDisposed) {

Callers

nothing calls this directly

Calls 1

assertNotDisposedMethod · 0.95

Tested by

no test coverage detected