https://rabo0313.tistory.com/entry/pytorch-torchmanualseed
[Pytorch] torch.manual_seed()
random seed 란 ? numpy 에서도 사용했던 random seed 5개의 난수를 생성 한다고 하면 우리는 np.random.rand(5)로 난수를 생성한다. 연달아서 np.random.rand(5)를 실행한다면 아래처럼, 생성할때마다 매번 서로 다
rabo0313.tistory.com
numpy에서 seed 역할을 하는 것이 torch의 manual_seed
'자연어 처리 과정' 카테고리의 다른 글
torch.gather (0) | 2023.01.16 |
---|---|
Confusion matrix (0) | 2023.01.13 |
What's the role of "pooler" in BERT? (0) | 2023.01.11 |
BERT (0) | 2023.01.09 |
Transformer - overview (1) | 2023.01.06 |