IVGCVSW-2564 Add support for multiple input and output bindings in InferenceModel
Change-Id: I64d724367d42dca4b768b6c6e42acda714985950
diff --git a/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp b/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp
index 98db023..b752c7c 100644
--- a/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp
+++ b/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp
@@ -31,9 +31,9 @@
typename YoloInferenceModel::Params modelParams;
modelParams.m_ModelPath = modelOptions.m_ModelDir + "yolov1_tiny_voc2007_model.caffemodel";
- modelParams.m_InputBinding = "data";
- modelParams.m_OutputBinding = "fc12";
- modelParams.m_InputTensorShape = &inputTensorShape;
+ modelParams.m_InputBindings = { "data" };
+ modelParams.m_OutputBindings = { "fc12" };
+ modelParams.m_InputShapes = { inputTensorShape };
modelParams.m_IsModelBinary = true;
modelParams.m_ComputeDevice = modelOptions.m_ComputeDevice;
modelParams.m_VisualizePostOptimizationModel = modelOptions.m_VisualizePostOptimizationModel;