与 PyTorch scaled_dot_product_attention (math backend) 做了正确性交叉验证和性能对比。 Note: If using the system GCC, you may encounter C++ template ...