That’s what I attempted to do and basically I go from one error to another in circles.  Fixing one error leads to another and it doesn’t appear I ever get closer to fixing the problem.  This code can be run as is, feel free to try it if you like.  I have converted many models to cuda in the past with no difficulty, so there is something here that I am just missing I guess.