xnn.ffnn.models.terms.torsion_cos# xnn.ffnn.models.terms.torsion_cos(b1, b2, b3)[source]# cos phi (M,) of the torsions along the bond vectors b1, b2, b3 (M, 3) (phi = 0 at cis; undefined for collinear atoms). Parameters: b1 (Tensor) b2 (Tensor) b3 (Tensor) Return type: Tensor