Recent Posts
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 알고리즘
- nerf
- dl
- nlp
- computervision
- FGVC
- GAN
- FineGrained
- REACT
- math
- classification
- cs
- Vision
- algorithm
- 자료구조
- PRML
- 3d
- pytorch
- Torch
- 딥러닝
- Depth estimation
- web
- ML
- Meta Learning
- SSL
- CV
- Front
- Python
- clean code
- 머신러닝
- Today
- Total
목록Python/Pytorch (9)
KalelPark's LAB
torch.nn.Module.register_buffer - parameter가 아니라 buffer를 수행하기 위한 목적으로 활용됩니다. - buffer는 state_dict에 저장되지만, 최적화에 사용되지 않습니다. 즉, 단순한 module이라고 볼 수 있습니다. def register_module(self, name : str, module : Optional["Module"]) -> None: self.add_module(name, module) torch.nn.Module.register_parameter - module에 name을 기반으로 parameter를 추가합니다. - register_buffer와 다르게, 최적화에 사용될 수 있습니다. def register_parameter(self,..
Python/Pytorch
2022. 12. 29. 15:38