openvino.runtime.opset6.select#
- openvino.runtime.opset6.select(cond: Node | int | float | ndarray, then_node: Node | int | float | ndarray, else_node: Node | int | float | ndarray, auto_broadcast: str = 'numpy', name: str | None = None) Node #
Perform an element-wise selection operation on input tensors.
- Parameters:
cond – Tensor with selection mask of type boolean.
then_node – Tensor providing data to be selected if respective cond item value is True.
else_node – Tensor providing data to be selected if respective cond item value is False.
auto_broadcast – Mode specifies rules used for auto-broadcasting of input tensors.
name – The optional new name for output node.
- Returns:
The new node with values selected according to provided arguments.