cab77c8f23bf81eaa06aeeeb28a4da3b716f7bd7,keras/engine/topology.py,Layer,count_params,#Layer#,1254

Before Change


                                   self.name + ", but the layer isn\"t built. "
                                   "You can build it manually via: `" +
                                   self.name + ".build(batch_input_shape)`.")
        return sum([K.count_params(p) for p in self.weights])


class InputLayer(Layer):

After Change


                                   self.name + ", but the layer isn\"t built. "
                                   "You can build it manually via: `" +
                                   self.name + ".build(batch_input_shape)`.")
        return count_params(self.weights)


class InputLayer(Layer):
    Layer to be used as an entry point into a graph.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: cab77c8f23bf81eaa06aeeeb28a4da3b716f7bd7
Time: 2017-10-25
Author: julien.rebetez@gmail.com
File Name: keras/engine/topology.py
Class Name: Layer
Method Name: count_params


Project Name: keras-team/keras
Commit Name: cab77c8f23bf81eaa06aeeeb28a4da3b716f7bd7
Time: 2017-10-25
Author: julien.rebetez@gmail.com
File Name: keras/utils/layer_utils.py
Class Name:
Method Name: print_summary


Project Name: osmr/imgclsmob
Commit Name: 09e4a76102ff4a06a835180237ea171eb475985c
Time: 2018-09-19
Author: osemery@gmail.com
File Name: keras_/models/mobilenet.py
Class Name:
Method Name: _test