Home
last modified time | relevance | path

Searched refs:ERROR_TOLERANCE (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/graph_editor/tests/
Dtransform_test.py38 ERROR_TOLERANCE = 1e-3 variable
152 np.linalg.norm(val - np.array([11])), 0.0, ERROR_TOLERANCE)
165 self.assertNear(c_val, 2.001, ERROR_TOLERANCE)
166 self.assertNear(c_new_val, 3.001, ERROR_TOLERANCE)
181 self.assertNear(c_val, 2.001, ERROR_TOLERANCE)
182 self.assertNear(c_new_val["c"], 3.001, ERROR_TOLERANCE)
240 self.assertNear(g_val, 0.0, ERROR_TOLERANCE)
241 self.assertNear(res_val, 0.0, ERROR_TOLERANCE)
/external/libopus/tests/
Dtest_opus_projection.c48 #define ERROR_TOLERANCE 1 macro
138 …= assert_is_equal(output_val16, expected_output_int16, SIMPLE_MATRIX_OUTPUT_SIZE, ERROR_TOLERANCE); in test_simple_matrix()
151 …rt_is_equal_short(output_int16, expected_output_int16, SIMPLE_MATRIX_OUTPUT_SIZE, ERROR_TOLERANCE); in test_simple_matrix()
165 …= assert_is_equal(output_val16, expected_output_int16, SIMPLE_MATRIX_OUTPUT_SIZE, ERROR_TOLERANCE); in test_simple_matrix()
178 …= assert_is_equal(output_val16, expected_output_int16, SIMPLE_MATRIX_OUTPUT_SIZE, ERROR_TOLERANCE); in test_simple_matrix()