* 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
461 B
C++
21 lines
461 B
C++
#include <inference_engine.hpp>
|
|
#include <ngraph/ngraph.hpp>
|
|
#include "onnx/onnx-ml.pb.h"
|
|
#include <iostream>
|
|
#include <set>
|
|
|
|
int main() {
|
|
using namespace InferenceEngine;
|
|
//! [part0]
|
|
const std::int64_t version = 12;
|
|
const std::string domain = "ai.onnx";
|
|
const std::set<std::string> supported_ops = ngraph::onnx_import::get_supported_operators(version, domain);
|
|
|
|
for(const auto& op : supported_ops)
|
|
{
|
|
std::cout << op << std::endl;
|
|
}
|
|
//! [part0]
|
|
return 0;
|
|
}
|