Skip to content

Commit f2e7ced

Browse files
Automated Code Change
PiperOrigin-RevId: 940274272
1 parent 896a54d commit f2e7ced

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tensorflow/core/framework/function.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ class FunctionLibraryRuntime : public core::WeakRefCounted {
789789
std::vector<std::string> output_devices;
790790

791791
// If set, it indicates the original output indices of a component function.
792-
absl::optional<std::vector<int>> ret_indices = absl::nullopt;
792+
absl::optional<std::vector<int>> ret_indices = std::nullopt;
793793

794794
// Maps from a CompositeDevice name to a list of underlying physical
795795
// devices.
@@ -959,7 +959,7 @@ class FunctionLibraryRuntime : public core::WeakRefCounted {
959959
// remote outputs lazily. All components of a remote multi-device function
960960
// should use the same op_id, in order to correctly map remote output
961961
// tensors to the remote TensorHandles in the default device.
962-
absl::optional<int64_t> op_id = absl::nullopt;
962+
absl::optional<int64_t> op_id = std::nullopt;
963963

964964
// Not owned. Caller makes sure that the rendezvous outlives this Options.
965965
RendezvousInterface* rendezvous = nullptr;
@@ -969,7 +969,7 @@ class FunctionLibraryRuntime : public core::WeakRefCounted {
969969
StepStatsCollectorInterface* stats_collector = nullptr;
970970
tsl::CoordinationServiceAgent* coordination_service_agent = nullptr;
971971

972-
absl::optional<ManagedStackTrace> stack_trace = absl::nullopt;
972+
absl::optional<ManagedStackTrace> stack_trace = std::nullopt;
973973

974974
std::function<void(std::function<void()>)>* runner = nullptr;
975975

0 commit comments

Comments
 (0)