diff options
author | Finn Williams <finn.williams@arm.com> | 2022-05-18 13:24:14 +0100 |
---|---|---|
committer | Ryan OShea <ryan.oshea3@arm.com> | 2022-05-19 11:06:08 +0100 |
commit | b5e03cc39cdabc49bf117c119073f60e9d36a474 (patch) | |
tree | 9cf931497ff0f4336a59b91db29cd5c3d7ebf438 /src/backends/reference/workloads/RefFullyConnectedWorkload.hpp | |
parent | f6ae98331f7d08e5ab764ab70a168a523fdd5404 (diff) | |
download | armnn-b5e03cc39cdabc49bf117c119073f60e9d36a474.tar.gz |
Remove use of PostAllocationConfigure from ExecuteAsync calls
* Resolves: IVGCVSW-6952
Signed-off-by: Finn Williams <finn.williams@arm.com>
Change-Id: Ic85bd5267cf94e0ee8461ff4e62b9db3cb80877a
Diffstat (limited to 'src/backends/reference/workloads/RefFullyConnectedWorkload.hpp')
-rw-r--r-- | src/backends/reference/workloads/RefFullyConnectedWorkload.hpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/backends/reference/workloads/RefFullyConnectedWorkload.hpp b/src/backends/reference/workloads/RefFullyConnectedWorkload.hpp index 432a8879a0..3bdfb861d0 100644 --- a/src/backends/reference/workloads/RefFullyConnectedWorkload.hpp +++ b/src/backends/reference/workloads/RefFullyConnectedWorkload.hpp @@ -21,24 +21,16 @@ public: explicit RefFullyConnectedWorkload(const FullyConnectedQueueDescriptor& descriptor, const WorkloadInfo& info); - void PostAllocationConfigure() override; - void Execute() const override; void ExecuteAsync(WorkingMemDescriptor& workingMemDescriptor) override; private: - void PostAllocationConfigure(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs); void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const; - std::unique_ptr<ScopedTensorHandle> m_Weight; - std::unique_ptr<ScopedTensorHandle> m_Bias; - - std::unique_ptr<Decoder<float>> m_WeightDecoder; - std::unique_ptr<Decoder<float>> m_BiasDecoder; - TensorShape m_InputShape; - TensorShape m_OutputShape; - TensorShape m_WeightShape; - unsigned int m_NumActivations; + const TensorShape m_InputShape; + const TensorShape m_WeightShape; + const TensorShape m_OutputShape; + const unsigned int m_NumActivations; }; } //namespace armnn |