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

Method now

tfjs-core/src/platforms/platform_node.ts:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 now(): number {
65 const time = process.hrtime();
66 return time[0] * 1000 + time[1] / 1000000;
67 }
68
69 encode(text: string, encoding: string): Uint8Array {
70 if (encoding !== 'utf-8' && encoding !== 'utf8') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected