2021-06-01 16:31:29 +03:00
|
|
|
#include <ie_core.hpp>
|
2020-09-22 18:01:48 +03:00
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
using namespace InferenceEngine;
|
|
|
|
|
//! [part1]
|
|
|
|
|
Core ie;
|
|
|
|
|
auto netReader = ie.ReadNetwork("sample.xml");
|
|
|
|
|
InferenceEngine::InputsDataMap info(netReader.getInputsInfo());
|
|
|
|
|
auto& inputInfoFirst = info.begin()->second;
|
|
|
|
|
for (auto& it : info) {
|
|
|
|
|
it.second->setPrecision(Precision::U8);
|
|
|
|
|
}
|
|
|
|
|
//! [part1]
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|