blob: 1f519bda109920d0a07d4fc5c1d12094bdb352cc [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#include "RefSoftmaxFloat32Workload.hpp"
7
8#include "RefWorkloadUtils.hpp"
9#include "Softmax.hpp"
10
11#include "Profiling.hpp"
12
13namespace armnn
14{
15
16void RefSoftmaxFloat32Workload::Execute() const
17{
18 ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, "RefSoftmaxFloat32Workload_Execute");
19
20 Softmax(GetInputTensorDataFloat(0, m_Data),
21 GetOutputTensorDataFloat(0, m_Data),
22 GetTensorInfo(m_Data.m_Inputs[0]),
23 m_Data.m_Parameters.m_Beta);
24}
25
26} //namespace armnn