From 23fc134a1762ea29f1fb300d3d60e84bd8939a29 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Mon, 22 Jun 2020 16:12:37 -0700 Subject: [PATCH] Go: Update generated wrapper functions for TensorFlow ops. PiperOrigin-RevId: 317755766 Change-Id: I105b220b0760792d9f4fa7c1390c1477cdb1c627 --- tensorflow/go/op/wrappers.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tensorflow/go/op/wrappers.go b/tensorflow/go/op/wrappers.go index 8bceeb78564..3675c26751c 100644 --- a/tensorflow/go/op/wrappers.go +++ b/tensorflow/go/op/wrappers.go @@ -11448,6 +11448,11 @@ func AssertNextDataset(scope *Scope, input_dataset tf.Output, transformations tf } // Return the index of device the op runs. +// +// Given a list of device names, this operation returns the index of the device +// this op runs. The length of the list is returned in two cases: +// (1) Device does not exist in the given device list. +// (2) It is in XLA compilation. func DeviceIndex(scope *Scope, device_names []string) (index tf.Output) { if scope.Err() != nil { return