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
Enforce invariant that storage_ is always non-null (pytorch#12328)
Summary:
Pull Request resolved: pytorch#12328
- Delete reset() from Storage, as it makes it easy to accidentally
create a null storage.
- Immediately reject a storage if it is null when passed in
Reviewed By: dzhulgakov
Differential Revision: D10200448
fbshipit-source-id: 14bfa45f8f59859cc350bd9e20e3ef8692e3991d
0 commit comments