klyn.math.nn.layers.Input.forward
method
public override forward(inputs as NDArray<T>) as NDArray<T>
Description

Validates and returns the same tensor, without allocation of element storage.

Parameters
ParameterDescription
inputsTensor with a leading batch axis.
Returns

inputs.

Throws
  • ValueException on a shape mismatch.
Example

output = inputLayer.forward(images)