diff --git a/Trigger/EFTracking/FPGATrackSim/FPGATrackSimAlgorithms/src/OnnxRuntimeBase.h b/Trigger/EFTracking/FPGATrackSim/FPGATrackSimAlgorithms/src/OnnxRuntimeBase.h index 6576f1143f3effc370f5d43538faf952304ced97..c08fe591e6f49edee23fd45f5fbb6536c6bcb081 100644 --- a/Trigger/EFTracking/FPGATrackSim/FPGATrackSimAlgorithms/src/OnnxRuntimeBase.h +++ b/Trigger/EFTracking/FPGATrackSim/FPGATrackSimAlgorithms/src/OnnxRuntimeBase.h @@ -29,8 +29,8 @@ class OnnxRuntimeBase { std::vector<std::vector<float>> runONNXInference(NetworkBatchInput& inputTensorValues) const; std::map<int, Eigen::MatrixXf> runONNXInferenceMultilayerOutput(NetworkBatchInput& inputTensorValues) const; - std::vector<int64_t> getInputNodesDims(){return m_inputNodeDims;}; - std::vector<int64_t> getOutputNodesDims(){return m_outputNodeDims;}; + const std::vector<int64_t>& getInputNodesDims(){return m_inputNodeDims;}; + const std::vector<int64_t>& getOutputNodesDims(){return m_outputNodeDims;}; private: /// ONNX runtime session / model properties