Actually I made a mistake, the model itself is not stateful as the state (`v` the activation levels of the visible units) is passed as an argument to the method.