Fix error message in python/training/supervisor.py

This commit is contained in:
zhangshijin 2019-11-21 15:16:16 +08:00
parent 6e0893c79c
commit 61276cf0f9

View File

@ -306,7 +306,7 @@ class Supervisor(object):
@end_compatibility
"""
if context.executing_eagerly():
raise RuntimeError("Supervisors are compatible with eager execution.")
raise RuntimeError("Supervisors are incompatible with eager execution.")
# Set default values of arguments.
if graph is None:
graph = ops.get_default_graph()