Use relu function for lstmlayer
Mostra commenti meno recenti
I would like to change the StateActivationFuction of lstmLayer to Relu fuction, but only 'tanh' and 'softsign' are supported in the deep learning tool box.
Is there any solutions for changing the activation function ,or the way to make customed lstmLayer with Relu as the StateActivation?
Risposte (1)
slevin Lee
il 21 Ott 2022
0 voti
GateActivationFunction — Activation function to apply to the gates
- 'sigmoid' – Use the sigmoid function σ(x)=(1+e−x)−1.
- 'hard-sigmoid' – Use the hard sigmoid function
no Relu fuction
╮(╯▽╰)╭
Categorie
Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!