aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/pywrap_tfe.i
diff options
context:
space:
mode:
authorGravatar Alexandre Passos <apassos@google.com>2018-01-24 14:02:14 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-24 14:06:02 -0800
commitf7b60fd704ced02f250b2dd0da436cf0ad9c9a8c (patch)
tree50cb1bf6d167b0792ac608847ebfb48996750898 /tensorflow/python/pywrap_tfe.i
parentaa53e0f5411a844bf4b7e0ea832c18485697d3e0 (diff)
Silent copies for int32 tensors in TFE.
Fixes #16106 PiperOrigin-RevId: 183137298
Diffstat (limited to 'tensorflow/python/pywrap_tfe.i')
-rw-r--r--tensorflow/python/pywrap_tfe.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/python/pywrap_tfe.i b/tensorflow/python/pywrap_tfe.i
index ed7e4b17ad..3f25311a83 100644
--- a/tensorflow/python/pywrap_tfe.i
+++ b/tensorflow/python/pywrap_tfe.i
@@ -121,6 +121,7 @@ limitations under the License.
%rename("%s") TFE_DEVICE_PLACEMENT_EXPLICIT;
%rename("%s") TFE_DEVICE_PLACEMENT_WARN;
%rename("%s") TFE_DEVICE_PLACEMENT_SILENT;
+%rename("%s") TFE_DEVICE_PLACEMENT_SILENT_FOR_INT32;
%include "tensorflow/c/eager/c_api.h"