Example of MaxUnpool1d in 1.0.0 doc does not work

https://pytorch.org/docs/stable/nn.html#maxunpool1d

The example does not work in Pytorch 1.0

It shows error :TypeError: can only concatenate tuple (not “list”) to tuple

a workaround:
unpool(output, indices, output_size=list(input.size()))