Skip to content

Function: formatCount() ​

ts
function formatCount(n): string;

Defined in: ml/model.ts:117

9408 → "9.4K", 2.5e7 → "25M". Used for parameter / FLOP counts.

Parameters ​

ParameterType
nnumber

Returns ​

string

MIT licensed. WebGL2 required.