Following is the picture of my model

When I give one input two times, the output is different. I want the output to be same for same input.
If anyone can help please? I have tried the following but didn’t find helpful
torch.manual_seed(123)
torch.cuda.manual_seed(123)
torch.cuda.manual_seed_all(123)
np.random.seed(123)
torch.backends.cudnn.deterministic=True
Thank you