14 lines
373 B
C++
14 lines
373 B
C++
|
|
#include <inference_engine.hpp>
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
using namespace InferenceEngine;
|
||
|
|
//! [part0]
|
||
|
|
Core ie;
|
||
|
|
ie.SetConfig({{ CONFIG_KEY(TUNING_MODE), CONFIG_VALUE(TUNING_CREATE) }}, "GPU");
|
||
|
|
ie.SetConfig({{ CONFIG_KEY(TUNING_FILE), "/path/to/tuning/file.json" }}, "GPU");
|
||
|
|
// Further LoadNetwork calls will use the specified tuning parameters
|
||
|
|
//! [part0]
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|