openvino.runtime.opset6.convert_like

openvino.runtime.opset6.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.