corrected bug in unfold. > require 'lab' > x=lab.range(1,7) > =x
corrected bug in unfold.
> require 'lab'
> x=lab.range(1,7)
> =x

 1
 2
 3
 4
 5
 6
 7
[torch.DoubleTensor of dimension 7]

> =x:unfold(1,2,1)

 1
 2
 3
 4
 5
 6
[torch.DoubleTensor of dimension 6]

>

soumith/TH,soumith/TH,soumith/TH,soumith/TH