Make an optimization tensor.switch(scalar,...) -> ifelse(scalar,...)

User picture
User picture
User picture