class_docstr: Computes scaled dot-product attention using PyTorch SDPA v2.
class_docstr_tok: ["Computes","scaled","dot-product","attention","using","PyTorch","SDPA","v2","."]
docstr: :meta private:
docstr_tok: [":","meta","private",":"]
code: def extra_repr(self) -> str:
      """:meta private:"""
      return f"attn_dropout_p={self.attn_dropout_p}"
  
imports: import logging
  from abc import ABC, abstractmethod
  from contextlib import contextmanager
  from typing import Generator, Optional, Protocol, Tuple, final
  import torch
  import torch.nn.functional
  from torch import Tensor
  from torch.nn import Module
  from torch.nn.functional import dropout, softmax
  from fairseq2.nn.padding import PaddingMask
  from fairseq2.nn.transformer.attention_mask import AttentionMask, CausalAttentionMask
  from fairseq2.typing import finaloverride
label_desc: Use image node_id 3 for calling the TorchSDPA obj's underlying member method code with example usage: obj.extra_repr() and returns: str, self