Commit 0b3b096f authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #972 from sovrasov:dnn_torch_python_fix

parents 68e19d50 7c7c2848
......@@ -972,6 +972,12 @@ Ptr<Importer> createTorchImporter(const String &filename, bool isBinary)
return Ptr<Importer>();
}
Blob readTorchBlob(const String &filename, bool isBinary)
{
CV_Error(Error::StsNotImplemented, "Torch importer is disabled in current build");
return Blob();
}
#endif //defined(ENABLE_TORCH_IMPORTER) && ENABLE_TORCH_IMPORTER
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment