Home
last modified time | relevance | path

Searched refs:err_bound (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/tests/st/cpp/common/
Dcommon_test.h52 static void CompareOutputData(T *output_data, T *correct_data, int size, float err_bound) { in CompareOutputData() argument
55 ASSERT_LE(abs, err_bound); in CompareOutputData()
/third_party/mindspore/tests/ut/cpp/common/
Dcommon_test.h50 static void CompareOutputData(T *output_data, T *correct_data, int size, float err_bound) { in CompareOutputData() argument
53 ASSERT_LE(abs, err_bound); in CompareOutputData()
/third_party/mindspore/mindspore/lite/test/common/
Dcommon_test.h48 … CompareOutputData(const T *output_data, const T *correct_data, int size, float err_bound = 1e-4) {
57 if (error > err_bound) {
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dcast_tests.cc33 void CompareOutputData1(T *output_data, T *correct_data, int size, float err_bound) { in CompareOutputData1() argument
36 ASSERT_LE(abs, err_bound); in CompareOutputData1()