Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp318 for (const InferenceResult &rentry : result) { in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark() local
324 meanSquareErrorArray = env->NewFloatArray(rentry.meanSquareErrors.size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
326 maxSingleErrorArray = env->NewFloatArray(rentry.maxSingleErrors.size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
331 &rentry.meanSquareErrors[0], in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
332 rentry.meanSquareErrors.size() * sizeof(float)); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
338 &rentry.maxSingleErrors[0], in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
339 rentry.maxSingleErrors.size() * sizeof(float)); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
348 rentry.inferenceOutputs.size(), in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
351 for (int i = 0;i < rentry.inferenceOutputs.size();++i) { in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
353 inferenceOutput = env->NewByteArray(rentry.inferenceOutputs[i].size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
[all …]