klyn.math.nn.layers.Input.buildShape
method
public override buildShape(inputShape as IList<Long>) as IList<Long>
Description

Requires an exact match to the declared sample shape.

Parameters
ParameterDescription
inputShapeActual dimensions excluding the batch axis.
Returns

Declared shape.

Throws
  • ValueException for a mismatch.
Example

inputLayer.buildShape([28l, 28l])