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
When xla::Array::Reshape is called with a dimension span that aliases the array's internal buffer, reallocating the buffer would invalidate the span before the copy was performed. This CL addresses the issue by using a temporary buffer for reallocation and using std::memmove for in-place updates. A regression test 'ReshapeWithLowerRank' is added to verify the fix.
0 commit comments