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
966f27df
Commit
966f27df
authored
Nov 27, 2018
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13293 from dkurt:dnn_add_extra_ie_net_method
parents
21bb17e3
4ba4901c
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 @
966f27df
...
...
@@ -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
();
...
...
modules/dnn/src/op_inf_engine.hpp
View file @
966f27df
...
...
@@ -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
;
...
...
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