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
62428c3f
Commit
62428c3f
authored
7 years ago
by
Jai Menon
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into jmenon/codegen
parents
9cb959e0
7d11d579
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
divide.hpp
src/ngraph/ops/divide.hpp
+5
-0
negative.hpp
src/ngraph/ops/negative.hpp
+4
-0
subtract.hpp
src/ngraph/ops/subtract.hpp
+5
-0
No files found.
src/ngraph/ops/divide.hpp
View file @
62428c3f
...
...
@@ -29,4 +29,9 @@ namespace ngraph
virtual
std
::
string
description
()
const
override
{
return
"Divide"
;
}
};
}
inline
std
::
shared_ptr
<
ngraph
::
Node
>
operator
/
(
const
std
::
shared_ptr
<
ngraph
::
Node
>
arg0
,
const
std
::
shared_ptr
<
ngraph
::
Node
>
arg1
)
{
return
std
::
make_shared
<
ngraph
::
op
::
Divide
>
(
arg0
,
arg1
);
}
}
This diff is collapsed.
Click to expand it.
src/ngraph/ops/negative.hpp
View file @
62428c3f
...
...
@@ -29,4 +29,8 @@ namespace ngraph
virtual
std
::
string
description
()
const
override
{
return
"Negative"
;
}
};
}
inline
std
::
shared_ptr
<
ngraph
::
Node
>
operator
-
(
const
std
::
shared_ptr
<
ngraph
::
Node
>
arg0
)
{
return
std
::
make_shared
<
ngraph
::
op
::
Negative
>
(
arg0
);
}
}
This diff is collapsed.
Click to expand it.
src/ngraph/ops/subtract.hpp
View file @
62428c3f
...
...
@@ -29,4 +29,9 @@ namespace ngraph
virtual
std
::
string
description
()
const
override
{
return
"Subtract"
;
}
};
}
inline
std
::
shared_ptr
<
ngraph
::
Node
>
operator
-
(
const
std
::
shared_ptr
<
ngraph
::
Node
>
arg0
,
const
std
::
shared_ptr
<
ngraph
::
Node
>
arg1
)
{
return
std
::
make_shared
<
ngraph
::
op
::
Subtract
>
(
arg0
,
arg1
);
}
}
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