2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
7 #include <armnn/Graph.hpp>
14 bool GraphHasNamedLayer(const armnn::Graph& graph, const std::string& name)
16 for (auto&& layer : graph)
18 if (layer->GetName() == name)