Get layer by name in tensorflow
How to get a layer by name in TensorFlow? Want to get the weights matrix and bias vector.
How to get a layer by name in TensorFlow? Want to get the weights matrix and bias vector.
If you are using Tensorflow 1, you can get the layer by its name in the following way.
tf.get_default_graph().get_tensor_by_name('layer_name:0')