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
ba640dbb
Commit
ba640dbb
authored
Nov 06, 2018
by
Adam Procter
Committed by
Scott Cyphers
Nov 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc fixes for partial shapes (#1987)
parent
37dc586c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
avg_pool.cpp
src/ngraph/op/avg_pool.cpp
+1
-1
convert.cpp
src/ngraph/op/convert.cpp
+1
-1
convolution.cpp
src/ngraph/op/convolution.cpp
+1
-1
No files found.
src/ngraph/op/avg_pool.cpp
View file @
ba640dbb
...
...
@@ -130,7 +130,7 @@ void op::AvgPoolBackprop::validate_and_infer_types()
m_window_movement_strides
,
m_include_padding_in_avg_computation
);
const
PartialShape
&
delta_shape
=
get_input_shape
(
0
);
const
PartialShape
&
delta_shape
=
get_input_
partial_
shape
(
0
);
NODE_VALIDATION_ASSERT
(
this
,
forward_result_shape
.
compatible
(
delta_shape
))
<<
"Inferred forward output shape does not match delta shape (inferred forward output "
...
...
src/ngraph/op/convert.cpp
View file @
ba640dbb
...
...
@@ -30,7 +30,7 @@ op::Convert::Convert(const shared_ptr<Node>& arg, const element::Type& element_t
void
op
::
Convert
::
validate_and_infer_types
()
{
set_output_type
(
0
,
m_element_type
,
get_input_shape
(
0
));
set_output_type
(
0
,
m_element_type
,
get_input_
partial_
shape
(
0
));
}
shared_ptr
<
Node
>
op
::
Convert
::
copy_with_new_args
(
const
NodeVector
&
new_args
)
const
...
...
src/ngraph/op/convolution.cpp
View file @
ba640dbb
...
...
@@ -476,7 +476,7 @@ void op::ConvolutionBackpropFilters::validate_and_infer_types()
const
PartialShape
&
data_batch_shape
=
get_input_partial_shape
(
0
);
element
::
Type
data_batch_et
=
get_input_element_type
(
0
);
const
PartialShape
&
delta_shape
=
get_input_shape
(
1
);
const
PartialShape
&
delta_shape
=
get_input_
partial_
shape
(
1
);
element
::
Type
delta_et
=
get_input_element_type
(
1
);
element
::
Type
forward_result_et
;
...
...
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