aboutsummaryrefslogtreecommitdiff
path: root/src/backends/neon/workloads/NeonStackWorkload.hpp
blob: 729e279ed77cd398050968a11aca697b49e086e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include "NeonBaseWorkload.hpp"

#include <arm_compute/runtime/NEON/functions/NEStackLayer.h>

namespace armnn
{
arm_compute::Status NeonStackWorkloadValidate(const std::vector<const TensorInfo*>& inputs,
                                              const TensorInfo& output,
                                              const StackDescriptor& descriptor);

class NeonStackWorkload : public NeonBaseWorkload<StackQueueDescriptor>
{
public:
    NeonStackWorkload(const StackQueueDescriptor& descriptor, const WorkloadInfo& info);

    void Execute() const override;

private:
    mutable std::unique_ptr<arm_compute::NEStackLayer> m_Layer;
};

} //namespace armnn