Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[onert-micro] Fix TrainingDriverHandler #13961

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

ljwoo94
Copy link
Contributor

@ljwoo94 ljwoo94 commented Sep 9, 2024

This commit fixes bug in TrainingDriverHandler.
ONE-DCO-1.0-Signed-off-by: Jungwoo Lee [email protected]

This commit fixes bug in TrainingDriverHandler.
ONE-DCO-1.0-Signed-off-by: Jungwoo Lee <[email protected]>
@@ -156,7 +156,7 @@ OMStatus training_configure_tool::runTrainProcessWithCurConfig(
case onert_micro::CROSS_ENTROPY_METRICS:
{
float cross_entropy_metric = 0.f;
train_interpreter.evaluateMetric(onert_micro::CROSS_ENTROPY_METRICS,
train_interpreter.evaluateMetric(config, onert_micro::CROSS_ENTROPY_METRICS,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OMStatus evaluateMetric(const OMConfig &config, OMMetrics metric, void *metric_val,
uint32_t test_size)
{
return _training_runtime_module.evaluateMetric(config, metric, metric_val, test_size);
}

Above function requires config as a parameter.

@chunseoklee chunseoklee merged commit 152ab72 into Samsung:master Sep 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants