    def get_activation(self, as_func=True):
        """Returns the current activation function for this layer.

        Arguments:
            as_func: (bool) Determines whether the returned value is the string corresponding
                     to the activation function or the activation function itself.

        Returns: The activation function (string/function, see as_func argument for details).
        """
        if as_func:
            return FC._activations[self.activation]
        else:
            return self.activation
Returns the current activation function for this layer.

Arguments:
as_func: (bool) Determines whether the returned value is the string corresponding
to the activation function or the activation function itself.

Returns: The activation function (string/function, see as_func argument for details).
mbpo/models/fc.py