convert

fun convert(activationType: Activations): Activation

Converts activationType to the appropriate Activation subclass.