No. detach() is a function on Variables, not nn.Modules (layers). It returns a new Variable that does not back-propagate to whatever detach() was called on.
So if you do:
x = out.detach()

You can use x in any differentiable computation and it will not back-propagate to out. Note that the call to deatch() does not change out.