ArmNN
NotReleased
RefConstantWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include <
backendsCommon/Workload.hpp
>
9
#include <
backendsCommon/WorkloadData.hpp
>
10
11
#include <
armnn/Types.hpp
>
12
13
namespace
armnn
14
{
15
16
// Base class template providing an implementation of the Constant layer common to all data types.
17
class
RefConstantWorkload
:
public
BaseWorkload
<ConstantQueueDescriptor>
18
{
19
public
:
20
RefConstantWorkload
(
const
ConstantQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
21
22
void
PostAllocationConfigure
()
override
;
23
virtual
void
Execute
()
const override
;
24
};
25
26
}
//namespace armnn
armnn::BoostLogSeverityMapping::info
Workload.hpp
armnn::WorkloadInfo
Definition:
WorkloadInfo.hpp:16
armnn::RefConstantWorkload::RefConstantWorkload
RefConstantWorkload(const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
RefConstantWorkload.cpp:19
armnn::RefConstantWorkload
Definition:
RefConstantWorkload.hpp:17
armnn::ConstantQueueDescriptor
Definition:
WorkloadData.hpp:326
WorkloadData.hpp
armnn
Definition:
BackendHelper.hpp:11
Types.hpp
armnn::RefConstantWorkload::Execute
virtual void Execute() const override
Definition:
RefConstantWorkload.cpp:36
armnn::RefConstantWorkload::PostAllocationConfigure
void PostAllocationConfigure() override
Definition:
RefConstantWorkload.cpp:23
armnn::BaseWorkload
Definition:
Workload.hpp:28
src
backends
reference
workloads
RefConstantWorkload.hpp
Generated on Fri Mar 13 2020 16:06:58 for ArmNN by
1.8.13