24.08
|
Go to the documentation of this file.
6 #include <fmt/format.h>
42 std::unique_ptr<Decoder<float>> inputDecoder = MakeDecoder<float>(
GetTensorInfo(inputs[0]),
46 std::unique_ptr<Decoder<int>> indicesDecoder = MakeDecoder<int>(
GetTensorInfo(inputs[1]),
50 std::unique_ptr<Decoder<float>> updatesDecoder = MakeDecoder<float>(
GetTensorInfo(inputs[2]),
54 std::unique_ptr<Encoder<float>> outputEncoder = MakeEncoder<float>(
GetTensorInfo(outputs[0]),
74 std::unique_ptr<Decoder<int>> shapeDecoder = MakeDecoder<int>(
GetTensorInfo(inputs[0]),
78 std::unique_ptr<Decoder<int>> indicesDecoder = MakeDecoder<int>(
GetTensorInfo(inputs[1]),
82 std::unique_ptr<Decoder<float>> updatesDecoder = MakeDecoder<float>(
GetTensorInfo(inputs[2]),
86 std::unique_ptr<Encoder<float>> outputEncoder = MakeEncoder<float>(
GetTensorInfo(outputs[0]),
bool m_InputEnabled
Flag to show if input tensor is accepted.
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
void Execute() const override
std::vector< ITensorHandle * > m_Outputs
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)
ScatterNdQueueDescriptor m_Data
std::vector< ITensorHandle * > m_Inputs
Copyright (c) 2021 ARM Limited and Contributors.
RefScatterNdWorkload(const ScatterNdQueueDescriptor &descriptor, const WorkloadInfo &info)
void ExecuteAsync(ExecutionData &executionData) override
std::vector< ITensorHandle * > m_Outputs
std::vector< ITensorHandle * > m_Inputs