Hi,
The problem is that the second derivative of the unfold operation is not implemented.
You would need a function that computes this second derivative or the first derivative to be implemented in a differentiable way with the autograd engine.