2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
6 #include "TestUtils.hpp"
8 #include <boost/assert.hpp>
10 using namespace armnn;
12 void Connect(armnn::IConnectableLayer* from, armnn::IConnectableLayer* to, const armnn::TensorInfo& tensorInfo,
13 unsigned int fromIndex, unsigned int toIndex)
18 from->GetOutputSlot(fromIndex).Connect(to->GetInputSlot(toIndex));
19 from->GetOutputSlot(fromIndex).SetTensorInfo(tensorInfo);