We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9e7275 commit 727ea72Copy full SHA for 727ea72
runtime/executor/tensor_parser.h
@@ -86,7 +86,7 @@ ET_NODISCARD Result<BoxedEvalueList<std::optional<T>>> parseListOptionalType(
86
// copy assignment is not defined if its non trivial.
87
if (index == -1) {
88
new (&optional_tensor_list[output_idx])
89
- std::optional<T>(executorch::aten::nullopt);
+ std::optional<T>(std::nullopt);
90
// no value to point to. BoxedEvalueList for optional tensor will convert
91
// this to nullopt.
92
// TODO(T161156879): do something less hacky here.
0 commit comments