Lines Matching refs:rentry
318 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()
356 … memcpy(bytes, &rentry.inferenceOutputs[i][0], rentry.inferenceOutputs[i].size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
363 result_class, result_ctor, rentry.computeTimeSec, in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
365 rentry.inputOutputSequenceIndex, rentry.inputOutputIndex); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()