Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
257f6058
Commit
257f6058
authored
Nov 27, 2018
by
Dmitry Kurtaev
Committed by
Alexander Alekhin
Dec 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add serialize method for IE net wrapper
backport
4ba4901c
parent
bbdc987f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
op_inf_engine.cpp
modules/dnn/src/op_inf_engine.cpp
+6
-0
op_inf_engine.hpp
modules/dnn/src/op_inf_engine.hpp
+2
-0
No files found.
modules/dnn/src/op_inf_engine.cpp
View file @
257f6058
...
...
@@ -235,6 +235,12 @@ const std::string& InfEngineBackendNet::getName() const noexcept
return
name
;
}
InferenceEngine
::
StatusCode
InfEngineBackendNet
::
serialize
(
const
std
::
string
&
,
const
std
::
string
&
,
InferenceEngine
::
ResponseDesc
*
)
const
noexcept
{
CV_Error
(
Error
::
StsNotImplemented
,
""
);
return
InferenceEngine
::
StatusCode
::
OK
;
}
size_t
InfEngineBackendNet
::
layerCount
()
noexcept
{
return
const_cast
<
const
InfEngineBackendNet
*>
(
this
)
->
layerCount
();
...
...
modules/dnn/src/op_inf_engine.hpp
View file @
257f6058
...
...
@@ -69,6 +69,8 @@ public:
virtual
InferenceEngine
::
InputInfo
::
Ptr
getInput
(
const
std
::
string
&
inputName
)
const
noexcept
;
virtual
InferenceEngine
::
StatusCode
serialize
(
const
std
::
string
&
xmlPath
,
const
std
::
string
&
binPath
,
InferenceEngine
::
ResponseDesc
*
resp
)
const
noexcept
;
virtual
void
getName
(
char
*
pName
,
size_t
len
)
noexcept
;
virtual
void
getName
(
char
*
pName
,
size_t
len
)
const
noexcept
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment