klyn.math.nn.Sequential.summary
method
public summary() as Void
Description

Prints layer names, output shapes, trainable scalar counts and parameter bytes. Parameter memory includes weights and biases at their actual element width; activations, object metadata and optimizer state are excluded from this count. Input declarations build the network at construction, so summary is usable before fit. A deferred model must first infer its shape from real data.

Throws
  • ValueException for an unbuilt model without an input declaration.
Example

model.summary()