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
f543849e
Commit
f543849e
authored
Nov 05, 2019
by
Sayantan Sarkar
Committed by
Scott Cyphers
Nov 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add constant folding for Power for CPU (#3849)
parent
3b558069
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
cpu_builder.cpp
src/ngraph/runtime/cpu/cpu_builder.cpp
+7
-0
No files found.
src/ngraph/runtime/cpu/cpu_builder.cpp
View file @
f543849e
...
...
@@ -495,6 +495,12 @@ namespace ngraph
BUILD_BINARY_ELEMWISE_CF_FUNCTOR
(
runtime
::
cpu
::
kernel
::
multiply
);
}
template
<>
NodeExecutorTy
Builder
::
BUILDER_CF_DECL
(
ngraph
::
op
::
Power
)
{
BUILD_BINARY_ELEMWISE_CF_FUNCTOR
(
runtime
::
cpu
::
kernel
::
cwise_pow
);
}
template
<>
NodeExecutorTy
Builder
::
BUILDER_CF_DECL
(
ngraph
::
op
::
Divide
)
{
...
...
@@ -727,6 +733,7 @@ namespace ngraph
REGISTER_CF_BUILDER
(
Xor
);
REGISTER_CF_BUILDER
(
Sign
);
REGISTER_CF_BUILDER
(
Not
);
REGISTER_CF_BUILDER
(
Power
);
}
}
}
...
...
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