28e57ccc6bab553b67c04d7da02cd9e1523e48f3,cleverhans/model.py,Model,get_layer_names,#Model#,73
Before Change
def get_layer_names(self):
Return the list of exposed layers for this model.
scope_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES,
self.scope)
return [x.name for x in scope_vars]
def get_layer(self, x, layer, **kwargs):
Return a layer output.
After Change
def get_layer_names(self):
Return the list of exposed layers for this model.
raise NotImplementedError
def get_layer(self, x, layer, **kwargs):
Return a layer output.
:param x: tensor, the input to the network.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: tensorflow/cleverhans
Commit Name: 28e57ccc6bab553b67c04d7da02cd9e1523e48f3
Time: 2018-07-09
Author: dberth@google.com
File Name: cleverhans/model.py
Class Name: Model
Method Name: get_layer_names
Project Name: tensorflow/cleverhans
Commit Name: 28e57ccc6bab553b67c04d7da02cd9e1523e48f3
Time: 2018-07-09
Author: dberth@google.com
File Name: cleverhans/model.py
Class Name: Model
Method Name: get_layer_names
Project Name: rail-berkeley/softlearning
Commit Name: 6aa2cf60e7b62c83548a27c80a1f34e38160e0e1
Time: 2018-10-28
Author: hartikainen@berkeley.edu
File Name: softlearning/algorithms/sac.py
Class Name: SAC
Method Name: _init_actor_update
Project Name: deepchem/deepchem
Commit Name: f1df735684946dbbcefe41e41c7b1c3f2f751a07
Time: 2017-06-05
Author: peastman@stanford.edu
File Name: deepchem/models/tensorgraph/layers.py
Class Name: Dense
Method Name: create_tensor