Depends on the size of the network I would guess. A Boltzmann brain would apparently take about 10^10^50 years to form from quantum fluctuation in a vacuum. Our hypothetical neural network would be less complicated than that, assuming we're not aiming for general AI, so I think we can safely take that as an upper bound...