19 #include "ngraph/node.hpp"
20 #include "ngraph/op/op.hpp"
21 #include "ngraph/op/util/fused_op.hpp"
23 NGRAPH_SUPPRESS_DEPRECATED_START
37 static constexpr
NodeTypeInfo type_info{
"SquaredDifference", 0};
38 const NodeTypeInfo& get_type_info()
const override {
return type_info; }
51 virtual OutputVector decompose_op()
const override;
53 virtual std::shared_ptr<Node>
54 clone_with_new_inputs(
const OutputVector& new_args)
const override;
59 m_autobroadcast = auto_broadcast;
66 using v0::SquaredDifference;
70 NGRAPH_SUPPRESS_DEPRECATED_END
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:71
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Calculates an element-wise squared difference between two tensors.
Definition: squared_difference.hpp:35
SquaredDifference(const Output< Node > &x1, const Output< Node > &x2, const AutoBroadcastSpec &auto_broadcast=AutoBroadcastType::NUMPY)
Constructs the squared difference operation.
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28
Implicit broadcast specification.
Definition: attr_types.hpp:323