deepy/core/graph.py
def new_block(self, *layers, **kwargs):
        """
        Create a parameters block.
        :param layers: register some layers in the block
        :param name: specify the name of this block
        """
        from deepy.layers.block import Block
        block = Block(*layers, **kwargs)
        return block
def new_block(self, *layers, **kwargs):
        """
        Create a parameters block.
        :param layers: register some layers in the block
        :param name: specify the name of this block
        """
        from deepy.layers.block import Block
        block = Block(*layers, **kwargs)
        return block
Create a parameters block.
        :param layers: register some layers in the block
        :param name: specify the name of this block