* Update md files. Add cpp in docs/examples * Normalize all the line endings * Fix block_id in snippets * Fix utf-8 encoding * Add new folder for snippets * Fix issues with compiling code from snippets * Added conteiner iterator fix
21 lines
456 B
C++
21 lines
456 B
C++
#include <inference_engine.hpp>
|
|
#include "ie_plugin_config.hpp"
|
|
#include <ie_input_info.hpp>
|
|
#include "hetero/hetero_plugin_config.hpp"
|
|
|
|
|
|
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;
|
|
}
|