openvino.runtime.opset2.convert_like¶
-
openvino.runtime.opset2.
convert_like
(data: Union[openvino.pyopenvino.Node, int, float, numpy.ndarray], like: Union[openvino.pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) → openvino.pyopenvino.Node¶ Return node which casts data node values to the type of another node.
- Parameters
data – Node which produces the input tensor
like – Node which provides the target type information for the conversion
name – Optional name for the output node.
- Returns
New node performing the conversion operation.