klyn.math.nn.layers.Layer.forwardTraining
method
public forwardTraining(inputs as NDArray<T>) as LayerPass<T>
Description

Computes outputs and an explicit per-batch context owned by the trainer.

Parameters
ParameterDescription
inputsBatch tensor.
Returns

Forward context, never retained on the layer itself.

Example

passResult = layer.forwardTraining(inputs)