Element-wise selection based on a boolean predicate, like R's ifelse().
For each element, returns the corresponding element from true_value where
pred is TRUE and from false_value where pred is FALSE.
Value
tensorish
Has the same dtype and shape as true_value.
It is ambiguous if both true_value and false_value are ambiguous.
StableHLO
Lowers to stablehlo::hlo_select().