diff --git a/runtime/core/exec_aten/exec_aten.h b/runtime/core/exec_aten/exec_aten.h index df6ef60c833..84b918bf289 100644 --- a/runtime/core/exec_aten/exec_aten.h +++ b/runtime/core/exec_aten/exec_aten.h @@ -60,7 +60,7 @@ using string_view = c10::string_view; template using ArrayRef = c10::ArrayRef; template -using optional = c10::optional; +using optional = std::optional; using nullopt_t = c10::nullopt_t; using c10::nullopt; using ScalarType = at::ScalarType;