MCPcopy Index your code
hub / github.com/tensorflow/playground / humanReadable

Function humanReadable

src/playground.ts:878–880  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

876 }
877
878 function humanReadable(n: number): string {
879 return n.toFixed(3);
880 }
881
882 // Update loss and iteration number.
883 d3.select("#loss-train").text(humanReadable(lossTrain));

Callers 1

updateUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…