def toString(self):
        """
        Returns the network layers as a string.
        """
        output = ""
        for layer in reverse(self.layers):
            output += layer.toString()
        return output