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
e9a09617
Commit
e9a09617
authored
Nov 25, 2019
by
gaurides
Committed by
Scott Cyphers
Nov 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding default ctor for Constant (#3938)
* Adding default ctor * Address PR feedback
parent
bdd16da3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
constant.hpp
src/ngraph/op/constant.hpp
+2
-0
No files found.
src/ngraph/op/constant.hpp
View file @
e9a09617
...
...
@@ -36,6 +36,7 @@ namespace ngraph
NGRAPH_API
static
constexpr
NodeTypeInfo
type_info
{
"Constant"
,
0
};
const
NodeTypeInfo
&
get_type_info
()
const
override
{
return
type_info
;
}
Constant
()
=
default
;
/// \brief Constructs a tensor constant.
///
/// \param type The element type of the tensor constant.
...
...
@@ -363,6 +364,7 @@ namespace ngraph
static
constexpr
NodeTypeInfo
type_info
{
"ScalarConstantLikeBase"
,
0
};
const
NodeTypeInfo
&
get_type_info
()
const
override
{
return
type_info
;
}
std
::
shared_ptr
<
op
::
Constant
>
as_constant
()
const
;
ScalarConstantLikeBase
()
=
default
;
protected
:
ScalarConstantLikeBase
(
const
OutputVector
&
args
)
...
...
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