Utanapishtim31

Results comments of Utanapishtim31

With the following code, I get a KeyNotFound exception in predict(): ``` var inputs = keras.Input((4, 2)); var inputs_mask = keras.Input((4, 1), dtype: TF_DataType.TF_BOOL); RnnOptionalArgs rnnOptionalArgs = new RnnOptionalArgs(); rnnOptionalArgs.Mask...

Hi, My mistake. The mask input should have one dimension less: inputs_mask = keras.Input(shape=(4,), dtype=tf.bool)

In C#, you can keep the same code with the following change: var inputs_mask = keras.Input(new Shape(4), dtype: TF_DataType.TF_BOOL); Then you get an exception "NotSupportedException (The collection has a fixed...

As I explained above, the true origin of the problem is that the graph structure does not memorize the fact that _inputs_mask_ is actually an input to the RNN. As...

Sample code for the exception System.Collections.Generic.KeyNotFoundException during the training with a masked GRU: 1. Create a layer that always outputs zero (so that adding its output to the model output...

[TensorflowBufferOverflow.zip](https://github.com/SciSharp/TensorFlow.NET/files/13310336/TensorflowBufferOverflow.zip) I've been able to create a small C# app which reproduces the problem. You will have to run it as debug from Visual Studio with "Enable native code debugging"...

Using the keras.layers to build the BatchNormalization layer instead of a creation by its constructor fixes the problem (maybe an error in my initialization arguments).

Using the interface keras.layers indeed solves the problem. Thank you for your help.