MCPcopy Index your code
hub / github.com/tensorflow/tfjs / now

Function now

tfjs-core/src/util.ts:85–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 * @doc {heading: 'Util', namespace: 'util'}
84 */
85export function now(): number {
86 return env().platform.now();
87}
88
89/**
90 * Returns a platform-specific implementation of

Callers 1

timeMethod · 0.90

Calls 2

envFunction · 0.90
nowMethod · 0.65

Tested by

no test coverage detected