gartajackhats1985's picture
Upload 85 files
21d588d verified
raw
history blame
120 Bytes
import torch.nn.functional as F
def is_torch2_available():
return hasattr(F, "scaled_dot_product_attention")