implements Network.neurons()