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

Method memory

tfjs-node/src/nodejs_kernel_backend.ts:679–684  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

677 // ------------------------------------------------------------
678
679 memory() {
680 // Due to automatic garbage collection, the numbers are unreliable.
681 // TODO(kreeger): Since there is finalization in C, count the true
682 // number of undisposed tensors.
683 return {unreliable: true};
684 }
685
686 async time(f: () => void): Promise<BackendTimingInfo> {
687 const start = process.hrtime();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected