Hi Frank,
this work flow would detach the output from the model and all following operation put in a "no_grad block".
preds would still hold to the computation graph. The Variable wrapping preds.data is detached and Autograd does not track any operations on it.
Is this the use case?