deepy/layers/block.py
def register_layer(self, layer):
        """
        Register one connected layer.
        :type layer: NeuralLayer
        """
        if self.fixed:
            raise Exception("After a block is fixed, no more layers can be registered.")
        self.layers.append(layer)
def register_layer(self, layer):
        """
        Register one connected layer.
        :type layer: NeuralLayer
        """
        if self.fixed:
            raise Exception("After a block is fixed, no more layers can be registered.")
        self.layers.append(layer)
Register one connected layer.
        :type layer: NeuralLayer