How does one set ALL parameters of a net to train false?

related: