Equivalent number of degrees of freedoms for neural networks.