Unverified Commit a4bf1c43 authored by Scott Cyphers's avatar Scott Cyphers Committed by GitHub

Make Constant an op (#3752)

parent 0b1a386e
......@@ -30,7 +30,7 @@ namespace ngraph
namespace op
{
/// \brief Class for constants.
class Constant : public Node
class Constant : public Op
{
public:
NGRAPH_API
......@@ -251,7 +251,7 @@ namespace ngraph
protected:
void* get_data_ptr_nc() { return (m_data ? m_data->get_ptr() : nullptr); }
Constant(const OutputVector& args)
: Node(args)
: Op(args)
, m_shape({})
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment