public static parameterShapes(layer as Layer<T>, input as IList<Long>) as ArrayList<IList<Long>>
Expected parameter shapes, without parameter allocation.
| Parameter | Description |
|---|---|
layer | Allowlisted stage. @param input Positive sample dimensions. |
Ordered shapes of weights and optional bias.
shapes = LayerCodec<Float>.parameterShapes(layer, [784l])