Nevermind figured it out
 |  109         dlg_turnwise_embeddings = np.random.random((batch_size, 20, 256))                                                          
 |>>110         dlg_turnwise_embeddings = np.asarray(dlg_turnwise_embeddings, dtype=int)                                                   
 |+ 111         dlg_turnwise_embeddings = torch.from_numpy(dlg_turnwise_embeddings)                                                        
 |+ 112         if cfg.CUDA:                                                                                                               
 |+ 113             dlg_turnwise_embeddings = dlg_turnwise_embeddings.cuda()