Beispiel #1
0
    def call(self, x, mask=None):
        activ = AveragePooling2D.call(self, x)

        updates = self.update_spikevars(activ)

        with tf.control_dependencies(updates):
            return activ + 0
Beispiel #2
0
    def call(self, x, mask=None):

        return AveragePooling2D.call(self, x)