From f390dbd94f5b4a1ed61bad255aca46155262be4c Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 21 Nov 2018 19:39:51 -0500 Subject: [PATCH] Updated the clarity of specifc comments 11212018 --- tensorflow/python/framework/function.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tensorflow/python/framework/function.py b/tensorflow/python/framework/function.py index 230a5546414..4dc06df8f07 100644 --- a/tensorflow/python/framework/function.py +++ b/tensorflow/python/framework/function.py @@ -1,4 +1,4 @@ -# Copyright 2015 The TensorFlow Authors. All Rights Reserved. +# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # ============================================================================= """Python front-end supports for functions. -NOTE: functions are currently experimental and subject to change! +NOTE: At this time, functions are experimental and subject to change!. Proceed with caution. """ from __future__ import absolute_import @@ -59,8 +59,8 @@ class Defun(object): def foo(x, y): ... - When you call the decorated function it will add `call` ops to the - default graph and adds the definition of the function into the + When you call the decorated function, it adds the `call` ops to the + default graph. In addition, it adds the definition of the function into the default graph. Because the addition of the function into the graph is deferred, the decorator can be used anywhere in the program. @@ -300,7 +300,7 @@ class _DefinedFunction(object): @property def grad_func_name(self): - """Its gradient function's name.""" + """Returns the name of the gradient function.""" return self._grad_func.name if self._grad_func else None @property