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
In InPlaceOp2, we must acquire a write lock on the lhs tensor's storage and a read lock on the rhs tensor's storage. Because Rust's RwLock is not reentrant, this results in a deadlock when both tensors share the same storage (e.g., are narrowed views into a larger tensor).