diff options
author | 2018-03-07 12:30:47 -0800 | |
---|---|---|
committer | 2018-03-07 12:36:08 -0800 | |
commit | c209eb4ceca82f6c910047f20c207e8f226e6dc9 (patch) | |
tree | 6c8a4ace6c82302cf0f62ab8f3e7abb03411d46a /tensorflow/c/c_api_internal.h | |
parent | c6705910f782a3f07d610cb21af5cba167eaa65f (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.h | 5 |
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 |