Shortcuts

Function at::_fused_sdp_choice

Function Documentation

inline int64_t at::_fused_sdp_choice(const at::Tensor &query, const at::Tensor &key, const at::Tensor &value, const ::std::optional<at::Tensor> &attn_mask = {}, double dropout_p = 0.0, bool is_causal = false, ::std::optional<double> scale = ::std::nullopt)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources