is a cpu seed different from a gpu seed #971
Unanswered
Gracelesslemon
asked this question in
Q&A
Replies: 1 comment 1 reply
-
import torch
# Set the seed for CPU operations
torch.manual_seed(42)
# Set the seed for CUDA operations
torch.cuda.manual_seed(42) They should be different since
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
question 7 on the exercise in section 2
output
should they be same .(it should be true no?)
Beta Was this translation helpful? Give feedback.
All reactions