Can I set the transfer function of a feedforward NN "relu"? If not, how can I apply "relu" to the feedforward NN?
조회 수: 11 (최근 30일)
이전 댓글 표시
I want to use "relu" in feedforward NN, can I? Can I set the transfer function of a feedforward NN "relu"? If not, how can I apply "relu" to the feedforward NN? Thanks a lot!
댓글 수: 0
답변 (1개)
Kyana Shayan
2018년 6월 6일
As far as I know you can set it to
net.layers{1}.transferFcn= 'poslin'
which would give the same result as rectifier function, however, not sure how the non-differentiability at 0 would effect the results.
Hope it helps.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!