- 'sigmoid' – Use the sigmoid function σ(x)=(1+e−x)−1.
- 'hard-sigmoid' – Use the hard sigmoid function
Use relu function for lstmlayer
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (1)
slevin Lee
el 21 de Oct. de 2022
GateActivationFunction — Activation function to apply to the gates
no Relu fuction
╮(╯▽╰)╭
0 comentarios
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!