grain.testing

Members

Functions

assertAllClose
void assertAllClose(T1 actual, T2 desired, string msg = "", double rtol = 1e-7, double atol = 0)

assert tensor elements are all close

assertEqual
void assertEqual(T1 actual, T2 desired, string info = "none")

assert all elements are equal

Meta