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
c21b3f88
Commit
c21b3f88
authored
Aug 31, 2017
by
Scott Cyphers
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into cyphers/names
parents
f73e0238
5f724e48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
op.hpp
src/ngraph/op.hpp
+1
-1
constant.hpp
src/ngraph/ops/constant.hpp
+1
-2
No files found.
src/ngraph/op.hpp
View file @
c21b3f88
...
@@ -98,7 +98,7 @@ namespace ngraph
...
@@ -98,7 +98,7 @@ namespace ngraph
/// Name of the builtin op, for debugging and logging.
/// Name of the builtin op, for debugging and logging.
virtual
std
::
string
op_name
()
const
=
0
;
virtual
std
::
string
op_name
()
const
=
0
;
// TODO: Implement for each op
// TODO: Implement for each op
. This enables graphs to be built for now.
virtual
void
propagate_types
()
override
{}
virtual
void
propagate_types
()
override
{}
protected
:
protected
:
...
...
src/ngraph/ops/constant.hpp
View file @
c21b3f88
...
@@ -56,8 +56,7 @@ namespace ngraph
...
@@ -56,8 +56,7 @@ namespace ngraph
template
<
typename
U
>
template
<
typename
U
>
static
std
::
shared_ptr
<
ScalarConstantOp
<
T
>>
make
(
U
value
)
static
std
::
shared_ptr
<
ScalarConstantOp
<
T
>>
make
(
U
value
)
{
{
return
std
::
make_shared
<
ScalarConstantOp
<
T
>>
(
return
std
::
make_shared
<
ScalarConstantOp
<
T
>>
(
value
);
static_cast
<
ScalarConstantOp
<
T
>::
ctype
>
(
value
));
}
}
protected
:
protected
:
...
...
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