// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "GatherLayer.hpp" #include "LayerCloneBase.hpp" #include #include #include namespace armnn { GatherLayer::GatherLayer(const char* name) : Layer(2, 1, LayerType::Gather, name) { } std::unique_ptr GatherLayer::CreateWorkload(const armnn::Graph& graph, const armnn::IWorkloadFactory& factory) const { GatherQueueDescriptor descriptor; return factory.CreateGather(descriptor, PrepInfoAndDesc(descriptor, graph)); } GatherLayer* GatherLayer::Clone(Graph& graph) const { return CloneBase(graph, GetName()); } void GatherLayer::ValidateTensorShapesFromInputs() { } } // namespace armnn