multimodalart's picture
Upload 4 files
be88838 verified
raw
history blame
No virus
115 Bytes
import torch.nn.functional as F
def is_torch2_available():
return hasattr(F, "scaled_dot_product_attention")