Fix comment for AddGradients in graph.go
This commit is contained in:
parent
310f454e92
commit
07f6ed9896
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user