Update the default activation function for unified LSTM to 'sigmoid'.
I believe for historical reason, the activation function for LSTM is hard_sigmoid because it is faster compare to sigmoid. With the new LSTM, the performance issue should be fixed with grappler swapping the backend. PiperOrigin-RevId: 224863406
Showing
想要评论请 注册 或 登录