Procedures

ProcedureLocationProcedure TypeDescription
assert_allclose ftorch_test_utils Interface
assert_allclose_real32_1d ftorch_test_utils Function

Asserts that two real32-valued 1D arrays coincide to a given relative tolerance

assert_allclose_real32_2d ftorch_test_utils Function

Asserts that two real32-valued 2D arrays coincide to a given relative tolerance

assert_allclose_real32_3d ftorch_test_utils Function

Asserts that two real32-valued 3D arrays coincide to a given relative tolerance

assert_allclose_real64_1d ftorch_test_utils Function

Asserts that two real64-valued 1D arrays coincide to a given relative tolerance

assert_allclose_real64_2d ftorch_test_utils Function

Asserts that two real64-valued 2D arrays coincide to a given relative tolerance

assert_allclose_real64_3d ftorch_test_utils Function

Asserts that two real64-valued 3D arrays coincide to a given relative tolerance

assert_isclose ftorch_test_utils Interface
assert_isclose_real32 ftorch_test_utils Function

Asserts that two real32 values coincide to a given relative tolerance

assert_isclose_real64 ftorch_test_utils Function

Asserts that two real64 values coincide to a given relative tolerance

test_print ftorch_test_utils Subroutine

Print the result of a test to the terminal