Notice
Recent Posts
Recent Comments
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
- nn.Module
- pytorch
- mlops
- 차원 감소
- deep learning
- 벡터 간 유사도
- CBOW
- 동시발생 행렬
- Gated Recurrent Unit
- Python
- 상호 정보량
- convolution
- 선형대수
- py4e
- Multi-Layer Perceptron
- Linear algebra
- 시소러스
- 파이썬
- excel
- dl
- skip-gram
- 분포 가설
- object detaction
- GoogLeNet
- docker
- pythonForEverybody
- 1x1 Convolution
- f1-score
- Charlse Severance
- Long Short Term Memory
Archives
- Today
- Total
목록tensor (1)
Tech & TIL
torch.tensor와 torch.Tensor 차이
Pytorch는 tensor가 모든 것의 기본 구성 요소이다. 하지만 공식 문서를 읽어보면 torch.tensor와 torch.Tensor가 있다. 둘의 차이점은 무엇일까? torch.Tensor Class int 입력시 float으로 변환 torch 데이터 입력시 입력 받은 데이터의 메모리 공간을 사용 list, numpy 데이터 입력 시 입력 받은 데이터를 복사하여 새롭게 torch.Tensor를 만든 후 사용 torch.tensor Function int 입력시 int 그대로 입력 받은 데이터를 새로운 메모리 공간으로 복사 후 사용
Boostcamp - AI tech/PyTorch
2021. 8. 20. 23:27