It depends where out4 is used. Changing data inplace is tricky because the original value is often needed to compute the backward pass for other operations.
In python += is an inplace operation, = is not.