From 56137a58d7c6341a20080b301eb0289778fa1f4e Mon Sep 17 00:00:00 2001 From: Mikhail Kornilovich Date: Fri, 5 Jun 2026 13:45:50 +0000 Subject: [PATCH] Add prediction.hpp --- prediction.hpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 prediction.hpp diff --git a/prediction.hpp b/prediction.hpp new file mode 100644 index 0000000..dd72514 --- /dev/null +++ b/prediction.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include +#include +#include + +namespace engine +{ + + struct ClassScore + { + std::string label; + float probability; + int class_index; + }; + + struct Prediction + { + std::vector< ClassScore > scores; + std::chrono::microseconds total_time{}; + }; + +} // namespace engine \ No newline at end of file