From 6c7e0cc4831b892b7fe5f91b7297f534ea99940b Mon Sep 17 00:00:00 2001 From: sremedios Date: Thu, 14 Mar 2019 09:42:17 -0500 Subject: [PATCH] Fixed typos in GradientTape warning message --- tensorflow/python/eager/backprop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/eager/backprop.py b/tensorflow/python/eager/backprop.py index 0bce60d69979a7..0211812dacde1a 100644 --- a/tensorflow/python/eager/backprop.py +++ b/tensorflow/python/eager/backprop.py @@ -926,14 +926,14 @@ def gradient(self, else: logging.log_first_n(logging.WARN, "Calling GradientTape.gradient on a persistent " - "tape inside it's context is significantly less " + "tape inside its context is significantly less " "efficient than calling it outside the context (it " "causes the gradient ops to be recorded on the " "tape, leading to increased CPU and memory usage). " "Only call GradientTape.gradient inside the " "context if you actually want to trace the " "gradient in order to compute higher order " - "derrivatives.", 1) + "derivatives.", 1) flat_targets = [] for t in nest.flatten(target):