Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
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
ngraph
Commits
78d6a880
Commit
78d6a880
authored
Jun 11, 2019
by
Jayaram Bobba
Committed by
Scott Cyphers
Jun 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change to proposal op validation and change to codeowners (#3046)
parent
ea166bcd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CODEOWNERS
CODEOWNERS
+1
-0
proposal.cpp
src/ngraph/op/experimental/layers/proposal.cpp
+2
-2
No files found.
CODEOWNERS
View file @
78d6a880
...
...
@@ -38,6 +38,7 @@
/src/ngraph/frontend/ @postrational
/src/ngraph/op/ @diyessi @aprocter
/src/ngraph/op/allreduce.*pp @wenzhe-nrv @diyessi @aprocter
/src/ngraph/op/experimental/layers @ilyachur
/src/ngraph/pass/ @jbobba
/src/ngraph/pattern/ @jbobba @aprocter
/src/ngraph/runtime/ @rkimballn1 @jbobba
...
...
src/ngraph/op/experimental/layers/proposal.cpp
View file @
78d6a880
...
...
@@ -45,8 +45,8 @@ void op::Proposal::validate_and_infer_types()
if
(
auto
const_shape
=
dynamic_pointer_cast
<
op
::
Constant
>
(
get_argument
(
2
)))
{
NODE_VALIDATION_CHECK
(
this
,
shape_size
(
const_shape
->
get_shape
())
==
2
,
"Layer shape must have rank
2
"
,
shape_size
(
const_shape
->
get_shape
())
>=
1
,
"Layer shape must have rank
greater than 1
"
,
const_shape
->
get_shape
());
auto
image_shape
=
const_shape
->
get_shape_val
();
...
...
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