Switch BuildGraphOptions to wrap CallableOptions.
authorDerek Murray <mrry@google.com>
Mon, 12 Mar 2018 23:46:48 +0000 (16:46 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 12 Mar 2018 23:50:57 +0000 (16:50 -0700)
commit2277b19ee300640c58137bc43ad152f357b3d7c3
tree8ad522fa14fb74b802ab808a43fab8d6bcb575e8
parentddbd1ca1865739be448ad1d01d38e086c3a82856
Switch BuildGraphOptions to wrap CallableOptions.

This change harmonizes the graph construction codepaths for DirectSession and
MasterSession, which will make it easier to add new subgraph creation features.

PiperOrigin-RevId: 188799932
tensorflow/core/common_runtime/build_graph_options.cc
tensorflow/core/common_runtime/build_graph_options.h
tensorflow/core/common_runtime/direct_session.cc
tensorflow/core/common_runtime/graph_execution_state.cc
tensorflow/core/distributed_runtime/master_session.cc
tensorflow/core/graph/subgraph.cc
tensorflow/core/graph/subgraph.h