ArmNN
 25.11
Loading...
Searching...
No Matches
RefTransposeConvolution2dWorkload.hpp
Go to the documentation of this file.
1//
2// Copyright © 2022, 2024 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "Decoders.hpp"
9#include "Encoders.hpp"
10
12#include "RefBaseWorkload.hpp"
13
14namespace armnn
15{
16
17class RefTransposeConvolution2dWorkload : public RefBaseWorkload<TransposeConvolution2dQueueDescriptor>
18{
19public:
21 const WorkloadInfo& info);
23
24 void Execute() const override;
25
26private:
27 void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
28 std::unique_ptr<ScopedTensorHandle> m_Weights;
29 std::unique_ptr<ScopedTensorHandle> m_Biases;
30
31 std::unique_ptr<Decoder<float>> m_WeightsDecoder;
32 std::unique_ptr<Decoder<float>> m_BiasesDecoder;
33
34 TensorShape m_WeightsShape;
35};
36
37} // namespace armnn
RefBaseWorkload(const TransposeConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)
RefTransposeConvolution2dWorkload(const TransposeConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)
Copyright (c) 2021 ARM Limited and Contributors.
Contains information about TensorInfos of a layer.