klyn.math.nn.layers.Input.Input
constructor
public Input(shape as Tuple)
Description

Declares a positive tuple of sample dimensions.

Parameters
ParameterDescription
shapeDimensions excluding the batch axis.
Throws
  • ValueException for empty or non-positive dimensions.
Example

inputLayer = Input<Float>((28, 28))