From 6c2d64680d4c8f462163bfaaaa7686fab1cca460 Mon Sep 17 00:00:00 2001 From: Rick Chao Date: Wed, 17 Feb 2021 12:28:31 -0800 Subject: [PATCH] Format an AssertionError string with space between sentences. PiperOrigin-RevId: 358008000 Change-Id: I5cd32c08db34f49793f035791dd0dda4777d25bd --- tensorflow/python/saved_model/save.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/python/saved_model/save.py b/tensorflow/python/saved_model/save.py index 1979c92c980..63990cfeec2 100644 --- a/tensorflow/python/saved_model/save.py +++ b/tensorflow/python/saved_model/save.py @@ -432,7 +432,7 @@ def _map_captures_to_created_tensors(original_captures, resource_map): if isinstance(secondary_referrer, base.Trackable): trackable_referrers.append(secondary_referrer) raise AssertionError( - ("Tried to export a function which references untracked resource {}." + ("Tried to export a function which references untracked resource {}. " "TensorFlow objects (e.g. tf.Variable) captured by functions must " "be tracked by assigning them to an attribute of a tracked object " "or assigned to an attribute of the main object directly.\n\n"