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

Sequential class seems to not present an equivalent attribute to "trainable_variables"

Open BananaFructa opened this issue 5 years ago • 0 comments

I am trying to get the gradients of a model using tf.GradientTape().gradient() from Tensorflow.NET but it seems that the Sequential model doesn't present any "trainable_variables" attribute unlike in python. Looked into the documentation and it also doesn't seem to exist.

BananaFructa avatar Nov 21 '20 13:11 BananaFructa