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

Method timerAvailable

tfjs-core/src/backends/backend.ts:90–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88export interface BackendTimer {
89 // check if backend timer is available
90 timerAvailable(): boolean;
91 time(f: () => void): Promise<BackendTimingInfo>;
92}
93

Callers 1

profileKernelMethod · 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