From 07f6ed9896bcf6f193f794a6c22398c3a6bcada6 Mon Sep 17 00:00:00 2001 From: Cibifang <cifang_bifang@hotmail.com> Date: Tue, 20 Nov 2018 18:48:51 +0800 Subject: [PATCH] Fix comment for AddGradients in graph.go --- tensorflow/go/graph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/go/graph.go b/tensorflow/go/graph.go index fb191fb51e7..84e81c77558 100644 --- a/tensorflow/go/graph.go +++ b/tensorflow/go/graph.go @@ -147,7 +147,7 @@ func (g *Graph) Operations() []Operation { return ops } -// AddGradients add operations to compute the partial derivatives of the sum of tensors in y +// AddGradients adds operations to compute the partial derivatives of the sum of tensors in y // with respect to tensors in x, i.e., d(y[0] + y[1] + ...) / d x[0], d(y[0] + y[1] + ... ) / d x[1] etc. // // prefix, if non-empty, is the name prefix used for all operations added to the graph to compute