Reword exception message for failed AutoGraph conversion

PiperOrigin-RevId: 241957881
This commit is contained in:
Brian Lee 2019-04-04 10:39:57 -07:00 committed by TensorFlower Gardener
parent 2b9c299716
commit ee45529b5b

View File

@ -333,7 +333,9 @@ def converted_call(f, owner, options, args, kwargs):
raise
logging.warn(
'Entity %s could not be transformed and will be staged without change.'
'Entity %s could not be transformed and will be executed as-is.'
' Some features (e.g. tensor-dependent conditionals and loops) may not'
' work as expected.'
' Error details can be found in the logs when running with the env'
' variable AUTOGRAPH_VERBOSITY >= 1. Please report this to the'
' AutoGraph team. Cause: %s', target_entity, e)