Theano/Theano — Issue #441: *IncSubtensor optimization when only a few of the inputs are constant
Author: nouiz
Created: 2012-02-14 19:01:18+00:00
State: open

For example, we could swap AdvancedIncSubtensor1 when the input is a range from 0 to N. In the case where we are not sure the shape is the same as N, we could make IncSubtensor raise an error when the end of the slice is out of bound instead of silently returning a shorter sequence.