public class Input<T extends AbstractFloat = Float> extends Layer<T>
Declares and validates sample dimensions, excluding the batch axis. It has no parameters and returns the original input without copying.
inputLayer = Input<Float>((28, 28))
| Modifier and Type | Member | Description |
|---|---|---|
| public override readonly property | displayNamedisplayName as String |
Summary label. |
| public override readonly property | inputShapeHint | Declared sample dimensions. |
| public override readonly property | parameterCountparameterCount as ULong |
Number of trainable parameters is zero. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | Input | Declares dimensions supplied as a typed list, copied once. |
| public | Input | Declares a positive tuple of sample dimensions. |
| Modifier and Type | Member | Description |
|---|---|---|
| public override | buildShape | Requires an exact match to the declared sample shape. |
| public override | differentiatedifferentiate(inputs as NDArray<T>, upstream as NDArray<T>) as LayerGradients<T> |
Propagates the derivative unchanged. |
| public override | forward | Validates and returns the same tensor, without allocation of element storage. |
| public override | parameter | Rejects parameter access. |