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
d6a58708
Commit
d6a58708
authored
7 years ago
by
Robert Kimball
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix review comments
parent
6ba3b8dc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
eigen_utils.hpp
src/ngraph/runtime/cpu/eigen_utils.hpp
+1
-1
emitter.cpp
src/ngraph/runtime/cpu/emitter.cpp
+0
-12
No files found.
src/ngraph/runtime/cpu/eigen_utils.hpp
View file @
d6a58708
...
...
@@ -113,7 +113,7 @@ namespace ngraph
};
}
//
E
T element type
// T element type
// FMT array format (fmt::V for vector, etc.)
// BASE select array/matrix
template
<
typename
T
,
...
...
This diff is collapsed.
Click to expand it.
src/ngraph/runtime/cpu/emitter.cpp
View file @
d6a58708
...
...
@@ -1060,18 +1060,6 @@ void Emitter::EmitReduce(const ngraph::Node* n,
auto
reduce
=
static_cast
<
const
op
::
Reduce
*>
(
n
);
auto
reduction_function
=
reduce
->
get_reduction_function
();
// std::shared_ptr<ExternalFunction> external;
// try
// {
// external = function_map.at(reduction_function);
// }
// catch (const std::out_of_range)
// {
// external = make_shared<ExternalFunction>(reduction_function);
// function_map.insert({reduction_function, external});
// }
auto
reductee_type
=
reduce
->
get_arguments
().
at
(
0
)
->
get_value_type
();
auto
reductee_tensor_view_type
=
dynamic_pointer_cast
<
const
TensorViewType
>
(
reductee_type
);
assert
(
reductee_tensor_view_type
);
...
...
This diff is collapsed.
Click to expand it.
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