Jorgvt / flayers

Functional layers ready to be trained with backpropagation.
https://jorgvt.github.io/flayers/
Apache License 2.0
0 stars 0 forks source link

Cannot save models in some cases #7

Closed Jorgvt closed 2 years ago

Jorgvt commented 2 years ago

Might be a cause of the names of the layers not being set properly so it has repeated names and cannot save the model.

Jorgvt commented 2 years ago

At least by now, this is fixed by putting the tf.Variable creation into the build method. By doing so, the name of the variables get prepended with the layer name