MCPcopy
hub / github.com/tensorflow/tfjs / memory

Function memory

tfjs-core/src/globals.ts:110–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 * @doc {heading: 'Performance', subheading: 'Memory'}
109 */
110export function memory(): MemoryInfo {
111 return ENGINE.memory();
112}
113
114/**
115 * Executes the provided function `f()` and returns a promise that resolves

Callers 15

models_test.tsFile · 0.90
expectNoLeakedTensorsFunction · 0.90
topology_test.tsFile · 0.90
training_test.tsFile · 0.90
container_test.tsFile · 0.90
executeFunction · 0.90
executor_test.tsFile · 0.90

Calls 1

memoryMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…