6 #include <fmt/format.h>
28 if (
m_Data.m_Parameters.m_InputEnabled)
36 std::unique_ptr<Decoder<float>> inputDecoder = MakeDecoder<float>(
GetTensorInfo(inputs[0]),
40 std::unique_ptr<Decoder<int>> indicesDecoder = MakeDecoder<int>(
GetTensorInfo(inputs[1]),
44 std::unique_ptr<Decoder<float>> updatesDecoder = MakeDecoder<float>(
GetTensorInfo(inputs[2]),
48 std::unique_ptr<Encoder<float>> outputEncoder = MakeEncoder<float>(
GetTensorInfo(outputs[0]),
68 std::unique_ptr<Decoder<int>> shapeDecoder = MakeDecoder<int>(
GetTensorInfo(inputs[0]),
72 std::unique_ptr<Decoder<int>> indicesDecoder = MakeDecoder<int>(
GetTensorInfo(inputs[1]),
76 std::unique_ptr<Decoder<float>> updatesDecoder = MakeDecoder<float>(
GetTensorInfo(inputs[2]),
80 std::unique_ptr<Encoder<float>> outputEncoder = MakeEncoder<float>(
GetTensorInfo(outputs[0]),
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
RefScatterNdWorkload(const ScatterNdQueueDescriptor &descriptor, const WorkloadInfo &info)
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
void ScatterNd(const TensorInfo &inputInfo, const TensorInfo &indicesInfo, const TensorInfo &updatesInfo, Decoder< float > &input, Decoder< int > &indices, Decoder< float > &updates, Encoder< float > &output, ScatterNdDescriptor descriptor)
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
std::vector< ITensorHandle * > m_Inputs
std::vector< ITensorHandle * > m_Outputs
Contains information about TensorInfos of a layer.