250x250
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
- tensorflow
- MariaDB
- paper review
- kubernetes
- Docker
- 논문 리뷰
- yaml
- 그래픽 유저 인터페이스
- 파이썬
- numpy
- FLASK
- Web Programming
- 데이터베이스
- GUI
- vue.js
- pytorch
- Python
- 장고
- k8s
- Django
- OpenCV
- Deep Learning
- 컴퓨터 비전
- 웹 프로그래밍
- Computer Vision
- Tkinter
- 파이토치
- POD
- 딥러닝
- 텐서플로우
Archives
- Today
- Total
목록Tensor (1)
Maxima's Lab
[Python, Pytorch] Tensor, Cuda 사용법
안녕하세요, 오늘은 Pytorch 내 Tensor와 Cuda 사용법에 대해서 알아보도록 하겠습니다. Tensor 및 Cuda 사용법에 대한 내용은 다음과 같습니다. torch.tensor() torch.as_tensor() size() dtype device unsqueeze() & squeeze() permute() & transpose() 다음은 Tensor와 Cuda를 사용하기 전 Cuda와 관련된 상태를 알아보는 코드입니다. import torch print(torch.cuda.is_available()) print(torch.cuda.current_device()) print(torch.cuda.device_count()) print(torch.cuda.get_device_name(0)) 위의 ..
Python/Pytorch
2022. 9. 1. 22:52