source
espnet2.beats.encoder.get_activation_fn(activation: str)
Returns the activation function corresponding to activation