model_eval_mode#

composer.utils.model_eval_mode(model)[source]#

Set model.eval() for context duration, restoring model status at end.