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.

posted @ 2016-12-22 14:41  姜楠  阅读(199)  评论(0编辑  收藏  举报