klyn.math.nn.layers.Input.Input
constructor
public Input(shape as IList<Long>)
Description

Declares dimensions supplied as a typed list, copied once.

Parameters
ParameterDescription
shapePositive sample dimensions, without a batch axis.
Throws
  • ValueException for invalid or overflowing dimensions.
Example

inputLayer = Input<Float>([28l, 28l, 1l])