Get activation block based on the name.

def _get_activation(self, act):
        """Get activation block based on the name. """
        if isinstance(act, str):
            if act.lower() == 'gelu':
                return GELU()
            else:
                return gluon.nn.Activation(act)
        assert isinstance(act, gluon.Block)
        return act