Closed russelldj closed 3 weeks ago
This moves the data to the correct device in the forward method of the model and sets the device for the model to GPU if present in the generate_predictions function.
forward
generate_predictions
This moves the data to the correct device in the
forward
method of the model and sets the device for the model to GPU if present in thegenerate_predictions
function.