diff options
author | Alexandre Passos <apassos@google.com> | 2017-11-29 15:46:42 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-11-29 15:49:47 -0800 |
commit | 963a521e255d2a189e349fc5c24ebc2bc032be5b (patch) | |
tree | ea89a1573421502e7edaad5cfaa91c3454821d78 /tensorflow/python/pywrap_tfe.i | |
parent | 32b861d3d4f920b46954a2e02aee1fbf46a81c63 (diff) |
Using the C API in eager mode for graph functions.
PiperOrigin-RevId: 177375237
Diffstat (limited to 'tensorflow/python/pywrap_tfe.i')
-rw-r--r-- | tensorflow/python/pywrap_tfe.i | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/pywrap_tfe.i b/tensorflow/python/pywrap_tfe.i index 82b154164e..82750e9e49 100644 --- a/tensorflow/python/pywrap_tfe.i +++ b/tensorflow/python/pywrap_tfe.i @@ -18,6 +18,7 @@ limitations under the License. %rename("%s") TFE_NewContext; %rename("%s") TFE_DeleteContext; %rename("%s") TFE_ContextListDevices; +%rename("%s") TFE_ContextAddFunction; %rename("%s") TFE_ContextAddFunctionDef; %rename("%s") TFE_OpNameGetAttrType; %rename("%s") TFE_Py_InitEagerTensor; @@ -149,7 +150,7 @@ limitations under the License. } $1 = &temp; $1->resize(PyInt_AsLong($input), nullptr); -} +} // Create new Status object. %typemap(in, numinputs=0) TF_Status *out_status { |