onnxruntime/onnxruntime/test/onnx/callback.cc
Dmitri Smirnov a90ab12589
Refactor onnx_test_runner (#5169)
Refactor onnx_test_runner for better object ownership, code readability and maintainability.
2020-09-18 13:19:35 -07:00

16 lines
289 B
C++

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "callback.h"
namespace onnxruntime {
namespace test {
void OrtCallback::Run() noexcept {
if (f != nullptr) {
f(param);
}
}
} // namespace test
} // namespace onnxruntime