aboutsummaryrefslogtreecommitdiff
path: root/src/backends/neon/workloads/NeonResizeWorkload.hpp
blob: feef7eb7819eff33f5d26c04c76b59a63e6e5b87 (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. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <armnn/backends/Workload.hpp>

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

namespace armnn
{

arm_compute::Status NeonResizeWorkloadValidate(const TensorInfo& input,
                                               const TensorInfo& output,
                                               const ResizeDescriptor& descriptor);

class NeonResizeWorkload : public BaseWorkload<ResizeQueueDescriptor>
{
public:
    NeonResizeWorkload(const ResizeQueueDescriptor& descriptor, const WorkloadInfo& info);
    void Execute() const override;

private:
    mutable arm_compute::NEScale m_ResizeLayer;
};

} //namespace armnn