mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Add serialize method for IE net wrapper
This commit is contained in:
parent
51cc78b2a2
commit
4ba4901ca9
@ -233,6 +233,12 @@ const std::string& InfEngineBackendNet::getName() const CV_NOEXCEPT
|
||||
return name;
|
||||
}
|
||||
|
||||
InferenceEngine::StatusCode InfEngineBackendNet::serialize(const std::string&, const std::string&, InferenceEngine::ResponseDesc*) const CV_NOEXCEPT
|
||||
{
|
||||
CV_Error(Error::StsNotImplemented, "");
|
||||
return InferenceEngine::StatusCode::OK;
|
||||
}
|
||||
|
||||
size_t InfEngineBackendNet::layerCount() CV_NOEXCEPT
|
||||
{
|
||||
return const_cast<const InfEngineBackendNet*>(this)->layerCount();
|
||||
|
@ -68,6 +68,8 @@ public:
|
||||
|
||||
virtual InferenceEngine::InputInfo::Ptr getInput(const std::string &inputName) const CV_NOEXCEPT;
|
||||
|
||||
virtual InferenceEngine::StatusCode serialize(const std::string &xmlPath, const std::string &binPath, InferenceEngine::ResponseDesc* resp) const CV_NOEXCEPT;
|
||||
|
||||
virtual void getName(char *pName, size_t len) CV_NOEXCEPT;
|
||||
|
||||
virtual void getName(char *pName, size_t len) const CV_NOEXCEPT;
|
||||
|
Loading…
Reference in New Issue
Block a user