(self, layer)
Set next_layer to provided layer.

        Arguments:
            layer (layer): Next layer
Set next_layer to provided layer.
Set next_layer to provided layer .
def set_next(self, layer):
        """
        Set next_layer to provided layer.

        Arguments:
            layer (layer): Next layer
        """
        self.next_layer = layer
def set_next ( self , layer ) : self . next_layer = layer