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