blob: 64b88dd68915664dcb8bbd2e834b94bf6825ca7f [file] [log] [blame]
Slava Shklyaev73ee79d2019-05-14 14:15:14 +01001/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef ANDROID_HARDWARE_NEURALNETWORKS_V1_1_GENERATED_TEST_HARNESS_H
18#define ANDROID_HARDWARE_NEURALNETWORKS_V1_1_GENERATED_TEST_HARNESS_H
19
20#include <android/hardware/neuralnetworks/1.1/IDevice.h>
21#include <android/hardware/neuralnetworks/1.1/types.h>
22#include <functional>
23#include <vector>
24#include "TestHarness.h"
25
26namespace android {
27namespace hardware {
28namespace neuralnetworks {
Slava Shklyaeve8b24462019-07-17 15:50:57 +010029namespace V1_1 {
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010030namespace generated_tests {
31
32void Execute(const sp<V1_1::IDevice>& device, std::function<V1_1::Model(void)> create_model,
33 std::function<bool(int)> is_ignored,
34 const std::vector<::test_helper::MixedTypedExample>& examples);
35
36} // namespace generated_tests
Slava Shklyaeve8b24462019-07-17 15:50:57 +010037} // namespace V1_1
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010038} // namespace neuralnetworks
39} // namespace hardware
40} // namespace android
41
42#endif // ANDROID_HARDWARE_NEURALNETWORKS_V1_1_GENERATED_TEST_HARNESS_H