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

Method time

tfjs-core/src/backends/backend.ts:91–91  ·  view source on GitHub ↗
(f: () => void)

Source from the content-addressed store, hash-verified

89 // check if backend timer is available
90 timerAvailable(): boolean;
91 time(f: () => void): Promise<BackendTimingInfo>;
92}
93
94/**

Callers 8

timeFunction · 0.65
globals_test.tsFile · 0.65
timeMethod · 0.65
profileKernelMethod · 0.65
index.jsFile · 0.65
index.jsFile · 0.65
loop_model.jsFile · 0.65

Implementers 3

TestBackendTimertfjs-core/src/profiler_test.ts
KernelBackendtfjs-core/src/backends/backend.ts
MathBackendWebGLtfjs-backend-webgl/src/backend_webgl.t

Calls

no outgoing calls

Tested by

no test coverage detected