MCPcopy
hub / github.com/tensorflow/tfjs-models / dispose

Function dispose

posenet/src/base_model.ts:93–95  ·  view source on GitHub ↗

* Releases the CPU and GPU memory allocated by the model.

()

Source from the content-addressed store, hash-verified

91 * Releases the CPU and GPU memory allocated by the model.
92 */
93 dispose() {
94 this.model.dispose();
95 }
96}

Callers

nothing calls this directly

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected