Skip to content

Question regarding "torch.manual_seed" #358

Answered by mrdbourke
Reetos asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Reetos,

You're right, you don't need torch.random.manual_seed().

You can achieve the full functionality with torch.manual_seed(), see the documentation here: https://pytorch.org/docs/stable/generated/torch.manual_seed.html

If you feel the code should be updated to reflect this, please feel free to leave a pull request :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Reetos
Comment options

Answer selected by Reetos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants