TensorFlow.NET icon indicating copy to clipboard operation
TensorFlow.NET copied to clipboard

How to use LSTM?

Open Leo-LiHao opened this issue 3 years ago • 2 comments

Hi, I checked the source code of the implementation of LSTM https://github.com/SciSharp/TensorFlow.NET/blob/8d7b85aa556344430ada57d335a26d81eba25c8a/src/TensorFlowNET.Keras/Layers/LSTM.cs#L31 Seems like LSTM does not work. If so, would you mind removing the interface or raising an error when using that? Is there a way to support LSTM?

Leo-LiHao avatar Feb 17 '22 00:02 Leo-LiHao

LSTM is not supported in Keras yet But I found another implementation https://github.com/SciSharp/TensorFlow.NET/blob/master/src/TensorFlowNET.Core/Operations/NnOps/BasicLSTMCell.cs#L14 I don’t know whether it works.

Andy-Elizabeth-mouse avatar Mar 29 '22 10:03 Andy-Elizabeth-mouse

LSTM is not supported in Keras yet But I found another implementation https://github.com/SciSharp/TensorFlow.NET/blob/master/src/TensorFlowNET.Core/Operations/NnOps/BasicLSTMCell.cs#L14 I don’t know whether it works.

Is there a timeline for when LSTM will likely be supported in Keras.NET?

3threeFX avatar Apr 21 '22 13:04 3threeFX

The new release version has been released, you can update your TensorFlow.NET and TensorFlow.Keras version to use LSTM and RNN. ^_^

Wanglongzhi2001 avatar Jun 26 '23 15:06 Wanglongzhi2001

Closing since no activity, please reopen if you still have question, thanks!

Wanglongzhi2001 avatar Nov 13 '23 16:11 Wanglongzhi2001