You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
instead of turning x + y into _conditional(+, x, y), we could transform it into Var(x) + Var(y) and add appropriate overloads to the Var wrapper type. That would avoid the need to intercept and transform broadcasting operations, since we could just implement (<=)(x::Var, y::Var) = Conditional(<=, x, y) and get [x, x] .<= [y, y] for free.
The text was updated successfully, but these errors were encountered:
instead of turning
x + y
into_conditional(+, x, y)
, we could transform it intoVar(x) + Var(y)
and add appropriate overloads to theVar
wrapper type. That would avoid the need to intercept and transform broadcasting operations, since we could just implement(<=)(x::Var, y::Var) = Conditional(<=, x, y)
and get[x, x] .<= [y, y]
for free.The text was updated successfully, but these errors were encountered: