Theano Inplace

时间:2023-03-09 03:02:49
Theano Inplace

Theano Inplace

inplace Computation

computation that destroy their inputs as a side-effect.

Example

if you iterate over matrix and double every elements, this is an inplace operations.

because when you are done, the original inputs has been overwritten.

Notes

Ops representing inplace computations are destructive, and by default these can only be inserted by optimizations, not user code.