Return the logarithm of the cumulative sum of exponentials of input along dim.
Parameters
inputTensorFloating-point input tensor.
dimintDimension along which to compute the scan.
Returns
TensorTensor of the same shape and dtype as input.
Examples
>>> import lucid
>>> lucid.logcumsumexp(lucid.tensor([0.0, 0.0]), dim=0)
tensor([0., 0.6931])