Skip to content

Is this not implemented exception expected for LSTM? #707

Open
@Cpt-Falcon

Description

@Cpt-Falcon

Hello,

Is LSTM in sequential supported currently?

System.NotImplementedException: ''

at Tensorflow.Keras.Engine.Layer.Call(Tensors inputs, Tensor state, Boolean is_training)
at Tensorflow.Keras.Layers.LSTM.Call(Tensors inputs, Tensor state, Boolean is_training)
at Tensorflow.Keras.Engine.Layer.<>c__DisplayClass65_0.b__0(NameScope scope)
at Tensorflow.Binding.tf_with[T](T py, Action`1 action)
at Tensorflow.Keras.Engine.Layer.FunctionalConstructionCall(Tensors inputs)
at Tensorflow.Keras.Engine.Layer.Apply(Tensors inputs, Tensor state, Boolean is_training)
at Tensorflow.Keras.Engine.Sequential.add(Layer layer)

Associated code that is triggering this:
var layers = new LayersApi();
this.rnnModel = new Sequential(new SequentialArgs());
this.rnnModel.add(layers.Input(new Shape(this.shapeBatchSize, this.shapeNumDataPoints)));
Activations activations = new Activations();

    `    this.rnnModel.add(layers.LSTM(lstmLayers[0].NumNodes, recurrent_activation: activations.Sigmoid, activation: lstmLayers[0].ActivationFunction, return_sequences: true));`

Thanks

Metadata

Metadata

Assignees

Labels

missing feature/sAn issue about missing features in the library.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions