klyn.math.nn.serialization.LayerCodec.shape
method
public static shape(dimensions as IList<Long>) as ArrayList<String>
Description

Encodes dimensions as exact decimal strings.

Parameters
ParameterDescription
dimensionsSample or tensor shape. @return Independent JSON list.
Example

shape = LayerCodec<Float>.shape([28l, 28l])