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
Do not copy beyond out tensor bounds (pytorch#15648)
Summary:
`set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time.
Add some checks to make sure we do not exceed the out tensor (out_data) size when copying.
Differential Revision: D86436435
0 commit comments