Skip to content

Commit 706df29

Browse files
authored
c10::optional -> std::optional in executorch/backends/vulkan/test/op_tests/sdpa_test.cpp
Differential Revision: D64648340 Pull Request resolved: #6370
1 parent 9af2a98 commit 706df29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/vulkan/test/op_tests/sdpa_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ at::Tensor sdpa_reference_impl(
159159
at::Tensor& value_cache,
160160
const int64_t start_pos,
161161
const int64_t seq_len,
162-
const c10::optional<at::Tensor> __attn_mask_ignored,
162+
const std::optional<at::Tensor> __attn_mask_ignored,
163163
const double dropout_p,
164164
const bool is_causal,
165-
const c10::optional<double> scale) {
165+
const std::optional<double> scale) {
166166
at::Tensor attn_mask =
167167
construct_attention_mask(q_projected, key_cache, start_pos);
168168

0 commit comments

Comments
 (0)