Class ov::op::v16::Identity#

class Identity : public ov::op::Op#

Identity operation is used as a placeholder op.

Public Functions

Identity(const Output<Node> &data)#

Identity operation is used as a placeholder. It copies the tensor data to the output.

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.