class_docstr: Basic CNN model for tensorflow eager execution.
class_docstr_tok: ["Basic","CNN","model","for","tensorflow","eager","execution","."]
docstr: Provides access to the parameters of the given layer.
  Works arounds the non-availability of graph collections in
              eager mode.
  :layer_name: name of the layer for which parameters are
              required, must be one of the string in the
              list layer_names
  :return: list of parameters corresponding to the given
              layer.
docstr_tok: ["Provides","access","to","the","parameters","of","the","given","layer",".","Works","arounds","the","non-availability","of","graph","collections","in","eager","mode",".",":","layer_name",":","name","of","the","layer","for","which","parameters","are","required",",","must","be","one","of","the","string","in","the","list","layer_names",":","return",":","list","of","parameters","corresponding","to","the","given","layer","."]
code: def get_layer_params(self, layer_name):
      """
      Provides access to the parameters of the given layer.
      Works arounds the non-availability of graph collections in
                  eager mode.
      :layer_name: name of the layer for which parameters are
                  required, must be one of the string in the
                  list layer_names
      :return: list of parameters corresponding to the given
                  layer.
      """
      assert layer_name in self.layer_names
  
      out = []
      layer = self.layers[layer_name]
      layer_variables = layer.variables
  
      # For each parameter in a layer.
      for param in layer_variables:
          if param not in out:
              out.append(param)
      return out
  
file_path: cleverhans/cleverhans_v3.1.0/cleverhans_tutorials/tutorial_models_tfe.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import tensorflow
  from cleverhans.model import Model
label_desc: Use image node_id 3 for calling the ModelBasicCNNTFE obj's underlying member method code with example usage: obj.get_layer_params(layer_name) and returns: out