2020-09-22 18:01:48 +03:00
|
|
|
#include <inference_engine.hpp>
|
|
|
|
|
#include <ngraph/ngraph.hpp>
|
2020-10-10 11:19:16 +03:00
|
|
|
#include "onnx_import/onnx.hpp"
|
2020-09-22 18:01:48 +03:00
|
|
|
#include <iostream>
|
|
|
|
|
#include <set>
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
//! [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;
|
|
|
|
|
}
|