Hello,
is there a way to access weights and biases of a layer in tfjs with the layers api? To be more precisely I want to get and also set them to use a generic algorithm on my neural net.
If not, is it possible with just tfjs core?
--
You received this message because you are subscribed to the Google Groups "TensorFlow.js Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tfjs+unsubscribe@tensorflow.org.
Visit this group at https://groups.google.com/a/tensorflow.org/group/tfjs/.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/6be5e49e-a964-4326-b23f-22957714dd2f%40tensorflow.org.
model.layers[0].setWeights(model.layers[0].getWeights())
model.layers[0].setWeights(model.layers[0].getWeights(document.getElementById('myArea01').value.split('\r\n|\n')))
model.setWeights(model.getWeights(document.getElementById('myArea01').value.split('\r\n|\n')))