• James Bergstra's avatar
    Replaced tensor.basic.SetSubtensor with tensor.basic.IncSubTensor. · d020e83b
    James Bergstra 提交于
    This was done in order to greatly simplify a new optimization to serialize
    multiple IncSubtensors of a common base.  This is a case that happens if you
    compute more than one subtensor from a single variable and then take a gradient.
    Serialization helps because then all the IncSubtensors can be done inplace.
    d020e83b
basic.py 100.8 KB