blob: f73ca4b022754d0e0200b3c28659d20f1447ee50 [file] [log] [blame]
Marat Dukhanc068bb62019-10-04 13:24:39 -07001// Copyright 2019 Google LLC
2//
3// This source code is licensed under the BSD-style license found in the
4// LICENSE file in the root directory of this source tree.
5
6#pragma once
7
8#include <xnnpack.h>
9
10#include <memory>
11#include <vector>
12
13namespace models {
14
15typedef std::vector<std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)>> ExecutionPlan;
Marat Dukhan5f18d262019-10-31 10:24:14 -070016typedef ExecutionPlan (*ExecutionPlanFactory)(pthreadpool_t threadpool);
Marat Dukhanc068bb62019-10-04 13:24:39 -070017
18ExecutionPlan MobileNetV1(pthreadpool_t threadpool);
19ExecutionPlan MobileNetV2(pthreadpool_t threadpool);
Marat Dukhanc08cdf52019-12-09 09:17:51 -080020ExecutionPlan MobileNetV3Large(pthreadpool_t threadpool);
21ExecutionPlan MobileNetV3Small(pthreadpool_t threadpool);
Marat Dukhanc068bb62019-10-04 13:24:39 -070022
23} // namespace models