Skip to content

Function: formatShape() ​

ts
function formatShape(shape?): string;

Defined in: ml/model.ts:131

[64, 112, 112] → "64×112×112"; empty/absent → "".

Parameters ​

ParameterType
shape?number[]

Returns ​

string

MIT licensed. WebGL2 required.