MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / convert

Function convert

tools/onnx2daq/pywrapper.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using dnn::OnnxConverter;
7
8void convert(const std::string &model_str, const std::string &filepath,
9 const std::string &table_file = "") {
10 OnnxConverter converter;
11 converter.Convert(model_str, filepath, table_file);
12}
13
14PYBIND11_MODULE(_onnx2daq, m) {
15 m.def("convert", &convert, "");

Callers

nothing calls this directly

Calls 1

ConvertMethod · 0.80

Tested by

no test coverage detected