klyn.math.nn.activations.ReLU.build
method
public build(inputSize as Long) as Long
Description

Validates the width; this activation has no parameters to initialize.

Parameters
ParameterDescription
inputSizePositive feature count, unchanged by ReLU.
Returns

inputSize.

Throws
  • ValueException for non-positive widths.
Example

width = activation.build(128)