blob: 8f475f3db35225036c46845cacaa8e206cfdff0b [file] [log] [blame]
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "RefReshapeUint8Workload.hpp"
#include "RefWorkloadUtils.hpp"
#include "Profiling.hpp"
#include <cstring>
namespace armnn
{
void RefReshapeUint8Workload::Execute() const
{
ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, "RefReshapeUint8Workload_Execute");
void* output = GetOutputTensorData<void>(0, m_Data);
const void* input = GetInputTensorData<void>(0, m_Data);
unsigned int numBytes = GetTensorInfo(m_Data.m_Inputs[0]).GetNumBytes();
memcpy(output, input, numBytes);
}
} //namespace armnn