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.
c10::optional
std::optional
1 parent 9af2a98 commit 706df29Copy full SHA for 706df29
backends/vulkan/test/op_tests/sdpa_test.cpp
@@ -159,10 +159,10 @@ at::Tensor sdpa_reference_impl(
159
at::Tensor& value_cache,
160
const int64_t start_pos,
161
const int64_t seq_len,
162
- const c10::optional<at::Tensor> __attn_mask_ignored,
+ const std::optional<at::Tensor> __attn_mask_ignored,
163
const double dropout_p,
164
const bool is_causal,
165
- const c10::optional<double> scale) {
+ const std::optional<double> scale) {
166
at::Tensor attn_mask =
167
construct_attention_mask(q_projected, key_cache, start_pos);
168
0 commit comments