Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 334024272
Change-Id: I7972ce2fc176edc787d73de720a3a2f0c88f72f4
This commit is contained in:
A. Unique TensorFlower 2020-09-27 09:45:53 -07:00 committed by TensorFlower Gardener
parent 7679280cbd
commit 85ba5dd127

View File

@ -20963,12 +20963,14 @@ func DivNoNan(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) {
// scattered onto an existing tensor (as opposed to a zero-tensor). If the memory
// for the existing tensor cannot be re-used, a copy is made and updated.
//
// If `indices` contains duplicates, then their updates are accumulated (summed).
// If `indices` contains duplicates, then we pick the last update for the index.
//
// **WARNING**: The order in which updates are applied is nondeterministic, so the
// output will be nondeterministic if `indices` contains duplicates -- because
// of some numerical approximation issues, numbers summed in different order
// may yield different results.
// If an out of bound index is found, an error is returned.
//
// **WARNING**: There are some GPU specific semantics for this operation.
// - If an out of bound index is found, the index is ignored.
// - The order in which updates are applied is nondeterministic, so the output
// will be nondeterministic if `indices` contains duplicates.
//
// `indices` is an integer tensor containing indices into a new tensor of shape
// `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) {
// [1 1 1 1]
// [1 1 1 1]]]
//
// Note that on CPU, if an out of bound index is found, an error is returned.
// On GPU, if an out of bound index is found, the index is ignored.
//
// Arguments:
// tensor: Tensor to copy/update.