<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def toString(self):
 """ Returns the network layers as a string. """

        output = ""
        for layer in reverse(self.layers):
            output += layer.toString()
        return output