Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp299 for (const InferenceResult &rentry : result) { in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark() local
305 meanSquareErrorArray = env->NewFloatArray(rentry.meanSquareErrors.size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
307 maxSingleErrorArray = env->NewFloatArray(rentry.maxSingleErrors.size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
312 &rentry.meanSquareErrors[0], in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
313 rentry.meanSquareErrors.size() * sizeof(float)); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
319 &rentry.maxSingleErrors[0], in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
320 rentry.maxSingleErrors.size() * sizeof(float)); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
329 rentry.inferenceOutputs.size(), in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
332 for (int i = 0;i < rentry.inferenceOutputs.size();++i) { in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
334 inferenceOutput = env->NewByteArray(rentry.inferenceOutputs[i].size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
[all …]