Open zhoyifan opened 3 years ago
Just like this function in tensorflow.
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Layer#get_weights https://js.tensorflow.org/api/latest/#tf.layers.Layer.getWeights
There is not such API to get weights directly as far as I know. But there are 3 ways to get them:
Just like this function in tensorflow.
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Layer#get_weights https://js.tensorflow.org/api/latest/#tf.layers.Layer.getWeights