computation that destroy their inputs as a side-effect.ide
if you iterate over matrix and double every elements, this is an inplace operations.this
because when you are done, the original inputs has been overwritten.code
Ops representing inplace computations are destructive, and by default these can only be inserted by optimizations, not user code.element