klyn.math.nn.activations.ReLU.buildShape
method
public override buildShape(inputShape as IList<Long>) as IList<Long>
Description

Validates arbitrary positive sample dimensions.

Parameters
ParameterDescription
inputShapeSample axes excluding the batch dimension.
Returns

Unchanged sample shape.

Throws
  • ValueException for invalid or overflowing dimensions.
Example

activation.buildShape([128l])