7 #include "ngraph/node.hpp"
8 #include "ngraph/op/op.hpp"
24 NGRAPH_RTTI_DECLARATION;
36 virtual std::shared_ptr<Node>
37 clone_with_new_inputs(
const OutputVector& new_args)
const override;
41 double get_min()
const {
return m_min; }
42 double get_max()
const {
return m_max; }
44 const HostTensorVector& inputs)
const override;
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:59
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Root of all actual ops.
Definition: op.hpp:17
Performs a clipping operation on all elements of the input node.
Definition: clamp.hpp:22
bool evaluate(const HostTensorVector &outputs, const HostTensorVector &inputs) const override
Evaluates the op on input_values putting results in output_values.
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
Clamp(const Output< Node > &data, const double min, const double max)
Constructs a Clamp node.
bool has_evaluate() const override
Allows to get information about availability of evaluate method for the current operation.
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16