강의

멘토링

로드맵

Inflearn brand logo image

Inflearn Community Q&A

chjeong627's profile image
chjeong627

asked

[PyTorch] Deep Learning Leading to Practical AI - From Basics to Paper Implementation

Stock Price Prediction - Recurrent Neural Network (RNN)

def forward부분 질문드립니다.

Written on

·

119

0

out = out.reshape(out.shape[0], -1)
1. reshape(out.shape[0], -1)부분은 한줄로 펴서 self.fc에 넣기 위함인가요?
2.out, _ = self.rnn(x, h0)
, _ 이코드도 출력값을 저장하지 않겠다는 의미인가요?
python머신러닝 배워볼래요? 인공신경망pytorch딥러닝

Answer 1

1

dlbro님의 프로필 이미지
dlbro
Instructor

네 맞습니다!

chjeong627's profile image
chjeong627

asked

Ask a question