rdb:

X = torch.from_numpy(X_Scaled).float().to(device)





 rdb:

for i, val in enumerate(X):
    X = X.to(device)



Is this the correct way of push to GPU?



 rdb:

h_t = torch.zeros(input.size(0), 128, dtype=torch.float32).to(device)


For all the hidden states right?