Question About Pseudo Labelling

When you are doing pseudo labelling and combining the test predictions with the training set labels, do you convert the test predictions into a one-hot encoded array with a 1 in the place of the predicted category and the rest zeros? Or do you combine the train labels directly with the test predictions without altering what is returned from predict or predict_generator?