Class ov::op::v0::Convert¶
-
class Convert : public ov::op::Op¶
Elementwise type conversion operation.
Public Functions
-
Convert() = default¶
Constructs a conversion operation.
-
Convert(const Output<Node> &arg, const ov::element::Type &destination_type)¶
Constructs a conversion operation.
- Parameters
arg – Node that produces the input tensor.
destination_type – Element type for the output tensor.
-
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.
-
virtual bool has_evaluate() const override¶
Allows to get information about availability of evaluate method for the current operation.
-
Convert() = default¶