class_docstr: Base class for any attention operator in xFormers
  
  See:
  
  - :attr:`xformers.ops.fmha.cutlass.FwOp`
  - :attr:`xformers.ops.fmha.cutlass.BwOp`
  - :attr:`xformers.ops.fmha.flash.FwOp`
  - :attr:`xformers.ops.fmha.flash.BwOp`
  - :attr:`xformers.ops.fmha.triton.FwOp`
  - :attr:`xformers.ops.fmha.triton.BwOp`
  - :attr:`xformers.ops.fmha.small_k.FwOp`
  - :attr:`xformers.ops.fmha.small_k.BwOp`
code: def supports(cls, d: Inputs) -> bool:
      return not cls.not_supported_reasons(d)
  
imports: import math
  from dataclasses import dataclass
  from functools import partial
  from typing import Any, Callable, List, Mapping, Optional, Set, Tuple, Type, Union
  import torch
  from ..._cpp_lib import _built_with_cuda
  from ..common import BaseOperator
  from .attn_bias import AttentionBias, BlockDiagonalMask, LowerTriangularMask, LowerTriangularMaskWithTensorBias
label_desc: Use image node_id 1 for calling the AttentionOpBase obj's underlying member method code with example usage: obj.supports(cls, d) and returns: unknown