code: def get_layer_variables_by_name(name):
      """get_layer_variables_by_name.
  
      Retrieve a layer's variables, given its name.
  
      Arguments:
          name: `str`. The layer name.
  
      Returns:
          A list of Variables.
  
      """
      return tf.get_collection(
          tf.GraphKeys.LAYER_VARIABLES + "/" + name
      )
  
file_path: tflearn/tflearn/variables.py
imports: from __future__ import division, print_function, absolute_import
  import tensorflow.compat.v1
  import tflearn
  from tflearn.vendor.arg_scope import add_arg_scope
label_desc: Use image node_id 4 for calling a global function with example usage: get_layer_variables_by_name(name) and returns: tf