deepy/layers/layer.py
def register_updates(self, *updates):
        """
        Register updates that will be executed in each iteration.
        """
        for key, node in updates:
            if key not in self._registered_updates:
                self.updates.append((key, node))
                self._registered_updates.add(key)
def register_updates(self, *updates):
        for key, node in updates:
            if key not in self._registered_updates:
                self.updates.append((key, node))
                self._registered_updates.add(key)
def register_updates ( self , * updates ) : for key , node in updates : if key not in self . _registered_updates : self . updates . append ( ( key , node ) ) self . _registered_updates . add ( key )
Register updates that will be executed in each iteration.
Register updates that will be executed in each iteration .