[NGRAPH] Fix UNITY build (#2732)
This commit is contained in:
parent
44406691e5
commit
b2747e68f5
|
|
@ -50,6 +50,11 @@ namespace ngraph
|
|||
|
||||
protected:
|
||||
size_t m_axis;
|
||||
|
||||
private:
|
||||
static const int PARAMS;
|
||||
static const int INDICES;
|
||||
static const int AXIS;
|
||||
NGRAPH_SUPPRESS_DEPRECATED_END
|
||||
};
|
||||
}
|
||||
|
|
@ -81,6 +86,11 @@ namespace ngraph
|
|||
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
|
||||
private:
|
||||
static const int PARAMS;
|
||||
static const int INDICES;
|
||||
static const int AXIS;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,6 +45,10 @@ namespace ngraph
|
|||
void validate_and_infer_types() override;
|
||||
virtual std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
|
||||
private:
|
||||
static const int PARAMS;
|
||||
static const int INDICES;
|
||||
NGRAPH_SUPPRESS_DEPRECATED_END
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ NGRAPH_SUPPRESS_DEPRECATED_START
|
|||
using namespace std;
|
||||
using namespace ngraph;
|
||||
|
||||
static const int PARAMS = 0;
|
||||
static const int INDICES = 1;
|
||||
static const int AXIS = 2;
|
||||
const int op::v0::Gather::PARAMS = 0;
|
||||
const int op::v0::Gather::INDICES = 1;
|
||||
const int op::v0::Gather::AXIS = 2;
|
||||
|
||||
constexpr NodeTypeInfo op::v0::Gather::type_info;
|
||||
|
||||
|
|
@ -100,6 +100,10 @@ void op::v0::Gather::validate_and_infer_types()
|
|||
constexpr NodeTypeInfo op::v1::Gather::type_info;
|
||||
const int64_t op::v1::Gather::AXIS_NOT_SET_VALUE;
|
||||
|
||||
const int op::v1::Gather::PARAMS = 0;
|
||||
const int op::v1::Gather::INDICES = 1;
|
||||
const int op::v1::Gather::AXIS = 2;
|
||||
|
||||
op::v1::Gather::Gather(const Output<Node>& params,
|
||||
const Output<Node>& indices,
|
||||
const Output<Node>& axes)
|
||||
|
|
|
|||
|
|
@ -162,8 +162,8 @@ shared_ptr<Node> op::v5::GatherND::clone_with_new_inputs(const OutputVector& new
|
|||
|
||||
NGRAPH_SUPPRESS_DEPRECATED_START
|
||||
|
||||
static int PARAMS = 0;
|
||||
static int INDICES = 1;
|
||||
const int op::GatherND::PARAMS = 0;
|
||||
const int op::GatherND::INDICES = 1;
|
||||
|
||||
constexpr NodeTypeInfo op::GatherND::type_info;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue