openvino.runtime.opset13.convert_like#

openvino.runtime.opset13.convert_like(data: Node | int | float | ndarray, like: Node | int | float | ndarray, name: str | None = None) 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.