Function at::_scaled_dot_product_cudnn_attention¶
Defined in File Functions.h
Function Documentation¶
-
inline ::std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, c10::SymInt, c10::SymInt, at::Tensor, at::Tensor, at::Tensor> at::_scaled_dot_product_cudnn_attention(const at::Tensor &query, const at::Tensor &key, const at::Tensor &value, const ::std::optional<at::Tensor> &attn_bias, bool compute_log_sumexp, double dropout_p = 0.0, bool is_causal = false, bool return_debug_mask = false, ::std::optional<double> scale = ::std::nullopt)¶