8000 Go: Update generated wrapper functions for TensorFlow ops. · metacortex/tensorflow@85ba5dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 85ba5dd

Browse files
Go: Update generated wrapper functions for TensorFlow ops.
PiperOrigin-RevId: 334024272 Change-Id: I7972ce2fc176edc787d73de720a3a2f0c88f72f4
1 parent 7679280 commit 85ba5dd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tensorflow/go/op/wrappers.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20963,12 +20963,14 @@ func DivNoNan(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) {
2096320963
// scattered onto an existing tensor (as opposed to a zero-tensor). If the memory
2096420964
// for the existing tensor cannot be re-used, a copy is made and updated.
2096520965
//
20966-
// If `indices` contains duplicates, then their updates are accumulated (summed).
20966+
// If `indices` contains duplicates, then we pick the last update for the index.
2096720967
//
20968-
// **WARNING**: The order in which updates are applied is nondeterministic, so the
20969-
// output will be nondeterministic if `indices` contains duplicates -- because
20970-
// of some numerical approximation issues, numbers summed in different order
20971-
// may yield different results.
20968+
// If an out of bound index is found, an error is returned.
20969+
//
20970+
// **WARNING**: There are some GPU specific semantics for this operation.
20971+
// - If an out of bound index is found, the index is ignored.
20972+
// - The order in which updates are applied is nondeterministic, so the output
20973+
// will be nondeterministic if `indices` contains duplicates.
2097220974
//
2097320975
// `indices` is an integer tensor containing indices into a new tensor of shape
2097420976
// `shape`. The last dimension of `indices` can be at most the rank of `shape`:
@@ -21028,8 +21030,6 @@ func DivNoNan(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) {
2102821030
// [1 1 1 1]
2102921031
// [1 1 1 1]]]
2103021032
//
21031-
// Note that on CPU, if an out of bound index is found, an error is returned.
21032-
// On GPU, if an out of bound index is found, the index is ignored.
2103321033
//
2103421034
// Arguments:
2103521035
// tensor: Tensor to copy/update.

0 commit comments

Comments
 (0)
0