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
Looks like the constructor for BitVector is fairly involved. You could just using ChainRules to @non_differentiable it, e.g.
@non_differentiableBitVector(a, b)
in a fresh session seems to work okay for me locally. It seems reasonable to me that you wouldn't be able to drop any gradient info doing this, so it should be safe.
The above fails with
on v0.6.70.
Switching to e.g.
Vector{Bool}
rather than aBitVector
works.The text was updated successfully, but these errors were encountered: