반응형
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
- wsl2
- python 문법
- Anaconda
- 머신러닝
- vision transformer
- DeepLearning
- docker
- 파이썬
- LSTM
- objectdetection
- vsC
- CNN
- tensorflow
- torch.nn
- pychram
- 딥러닝
- 가상환경
- __call__
- AI
- python
- __init__
- ubuntu
- Torchvision
- Visual Studio Code
- 가상환경구축
- torch.nn.Module
- 파이썬문법
- pytorch
- ViT
- rnn
Archives
- Today
- Total
목록code_study/tensorflow (1)
인공지능을 좋아하는 곧미남
[tensorflow] .get_shape().as_list() 활용 방법
오늘은 .get_shape().as_list()를 어떻게 제가 활용했는지 확인해보겠습니다. 간단하게 .get_shape()와 .as_list()에 관해 알아보고 딥러닝 모델을 구현할 때 어떻게 사용했는지 설명하겠습니다. 1. .get_shape() 란? - 행렬, 배열 등의 shape를 출력해주는 함수입니다. 2. .as_list() 란? - return 되는 값이 list형태로 변환해서 return합니다. convolution layer shape는 일반적으로 (batch_size, height, width, chennel) 입니다. 아래와 같이 선언해주면, 해당 conv layer의 height와 width shape 값을 얻을 수 있습니다. - h, w = conv_4_2.get_shap..
code_study/tensorflow
2021. 6. 23. 10:01