Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp345 for (const InferenceResult &rentry : result) { in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark() local
351 meanSquareErrorArray = env->NewFloatArray(rentry.meanSquareErrors.size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
353 maxSingleErrorArray = env->NewFloatArray(rentry.maxSingleErrors.size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
358 &rentry.meanSquareErrors[0], in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
359 rentry.meanSquareErrors.size() * sizeof(float)); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
365 &rentry.maxSingleErrors[0], in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
366 rentry.maxSingleErrors.size() * sizeof(float)); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
375 rentry.inferenceOutputs.size(), in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
378 for (int i = 0;i < rentry.inferenceOutputs.size();++i) { in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
380 inferenceOutput = env->NewByteArray(rentry.inferenceOutputs[i].size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
[all …]