Home
last modified time | relevance | path

Searched refs:atol (Results 1 – 7 of 7) sorted by relevance

/test/xts/acts/ai/mindspore/mindsporectest/src/
Dohos_common.cpp124 float atol = 1e-08, bool isquant = false) { in allclose() argument
145 sum = sum + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose()
146 sum_all = sum_all + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose()
147 maximum = max(maximum, fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i]))); in allclose()
148 minimum = min(minimum, fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i]))); in allclose()
155 } else if (fabs(a[i] - b[i]) > (atol + rtol * fabs(b[i]))) { in allclose()
200 printf("\n *** These data compare failed: atol = %f, rtol = %f\n", atol, in allclose()
214 float atol = 1e-08, bool isquant = false) { in allclose_int8() argument
235 sum = sum + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose_int8()
236 sum_all = sum_all + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose_int8()
[all …]
Dohos_common.h44 float atol, bool isquant);
45 bool allclose_int8(int8_t *a, int8_t *b, uint64_t count, float rtol, float atol,
49 float atol, bool isquant);
Dohos_c_api_test_mslite.cpp258 void CompareResult(OH_AI_TensorHandleArray outputs, string model_name, float atol = 0.01, float rto… in CompareResult() argument
272 bool result = compFp32WithTData(output_data, output_file, atol, rtol, false); in CompareResult()
/test/xts/acts/kernel_lite/util_posix/src/
DActsUtilConvertApiTest.cpp391 returnVal = atol(paraChar);
406 returnVal = atol(paraChar);
421 returnVal = atol(paraChar);
437 returnVal = atol(paraChar);
453 returnVal = atol(paraChar);
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/ets/test/
DStdlibNdk.test.ets1988 * @tc.desc : test atol
1996 let result: number = stdlib.atol(param);
2004 * @tc.desc : test atol
2012 let result: number = stdlib.atol(param);
2020 * @tc.desc : test atol
2026 let param = "atol";
2028 let result: number = stdlib.atol(param);
2035 * @tc.desc : test atol
2043 let result: number = stdlib.atol(param);
2051 * @tc.desc : test atol
[all …]
/test/testfwk/developer_test/
DREADME_zh.md266 long int thread_id = atol(this_id_str.c_str());
336 long int thread_id = atol(this_id_str.c_str());
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dstdlibndk.cpp1134 double resultValue = atol(param); in Atol()