aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c/c_api_internal.h
diff options
context:
space:
mode:
authorGravatar Alexandre Passos <apassos@google.com>2018-03-07 12:30:47 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-07 12:36:08 -0800
commitc209eb4ceca82f6c910047f20c207e8f226e6dc9 (patch)
tree6c8a4ace6c82302cf0f62ab8f3e7abb03411d46a /tensorflow/c/c_api_internal.h
parentc6705910f782a3f07d610cb21af5cba167eaa65f (diff)
TFE_Context gets its local devices from the source instead of a session.
PiperOrigin-RevId: 188216178
Diffstat (limited to 'tensorflow/c/c_api_internal.h')
-rw-r--r--tensorflow/c/c_api_internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tensorflow/c/c_api_internal.h b/tensorflow/c/c_api_internal.h
index 027e2d2b15..25233931de 100644
--- a/tensorflow/c/c_api_internal.h
+++ b/tensorflow/c/c_api_internal.h
@@ -129,11 +129,6 @@ struct TF_Session {
tensorflow::mutex mu;
int last_num_graph_nodes;
- // NOTE(ashankar): Experimental fields to help keep the
- // buffers of a TF_Tensor pinned in device memory.
- const tensorflow::DeviceMgr* device_mgr; // Owned by session.
- std::vector<tensorflow::Device*> devices; // Owned by device_mgr.
-
// If true, TF_SessionRun and similar methods will call
// ExtendSessionGraphHelper before running the graph (this is the default
// public behavior). Can be set to false if the caller needs to call