aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_module_config.h
diff options
context:
space:
mode:
authorGravatar Yunxing Dai <yunxing@google.com>2018-08-21 17:08:12 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-21 17:12:22 -0700
commit3cb3a450ed845c4602080f43d7bb6cfade298a22 (patch)
tree21e5a40fcb72737bd2cb00829bd049c5173d20e0 /tensorflow/compiler/xla/service/hlo_module_config.h
parent95d718a8a41370f31ccb3b32aaac7fd00b0291e4 (diff)
[XLA] gtl::optional->absl::optional
PiperOrigin-RevId: 209686671
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_module_config.h')
-rw-r--r--tensorflow/compiler/xla/service/hlo_module_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_module_config.h b/tensorflow/compiler/xla/service/hlo_module_config.h
index 01f3acd8fb..3f1e1cc73e 100644
--- a/tensorflow/compiler/xla/service/hlo_module_config.h
+++ b/tensorflow/compiler/xla/service/hlo_module_config.h
@@ -18,11 +18,11 @@ limitations under the License.
#include <string>
+#include "absl/types/optional.h"
#include "tensorflow/compiler/xla/service/computation_layout.h"
#include "tensorflow/compiler/xla/types.h"
#include "tensorflow/compiler/xla/xla.pb.h"
#include "tensorflow/compiler/xla/xla_data.pb.h"
-#include "tensorflow/core/lib/gtl/optional.h"
namespace xla {
@@ -104,7 +104,7 @@ class HloModuleConfig {
private:
// If you add new members, be sure to update compilation_cache_key.
- tensorflow::gtl::optional<ComputationLayout> entry_computation_layout_;
+ absl::optional<ComputationLayout> entry_computation_layout_;
// Whether this is a 'host module'.
bool is_host_module_ = false;