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
57f4f44b
Commit
57f4f44b
authored
Aug 23, 2018
by
Nick Korovaiko
Committed by
Robert Kimball
Aug 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
broadcast fix (#1483)
parent
ebd6904c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cpu_collapse_dims.cpp
src/ngraph/runtime/cpu/pass/cpu_collapse_dims.cpp
+1
-1
No files found.
src/ngraph/runtime/cpu/pass/cpu_collapse_dims.cpp
View file @
57f4f44b
...
@@ -109,7 +109,7 @@ bool runtime::cpu::pass::CPUCollapseDims::run_on_function(std::shared_ptr<ngraph
...
@@ -109,7 +109,7 @@ bool runtime::cpu::pass::CPUCollapseDims::run_on_function(std::shared_ptr<ngraph
// Null broadcast operation, replace with reshape
// Null broadcast operation, replace with reshape
AxisVector
axis_order
=
ngraph
::
get_default_order
(
input_shape
);
AxisVector
axis_order
=
ngraph
::
get_default_order
(
input_shape
);
auto
reshape
=
std
::
make_shared
<
op
::
Reshape
>
(
auto
reshape
=
std
::
make_shared
<
op
::
Reshape
>
(
node
->
get_argument
(
0
),
axis_order
,
Shape
(
cdims
.
output_shape
));
node
->
get_argument
(
0
),
axis_order
,
n
->
get_shape
(
));
ngraph
::
replace_node
(
n
,
reshape
);
ngraph
::
replace_node
(
n
,
reshape
);
replaced
=
true
;
replaced
=
true
;
}
}
...
...
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