SIGN IN SIGN UP
tensorflow / models UNCLAIMED

Models and examples built with TensorFlow

0 0 0 Python

Do not expose --max_train_steps in models that do not use it.

Only the V1 resnet model uses --max_train_steps. This unexposes the flag in the keras_application_models, mnist, keras resnet, CTL resnet Models. Before this change, such models allowed the flag to be specified, but ignored it.

I also removed the "max_train" argument from the run_synthetic function, since this only had any meaning for the V1 resnet model. Instead, the V1 resnet model now directly passes --max_train_steps=1 to run_synthetic.

PiperOrigin-RevId: 264269836
R
Reed Wanderman-Milne committed
824ff2d637b807465dc7d48130d086b4e7df19c7
Parent: b974c3f
Committed by A. Unique TensorFlower <gardener@tensorflow.org> on 8/19/2019, 11:33:50 PM