dlpy.blocks.ResBlock.compile¶
-
ResBlock.
compile
(src_layer, block_num=None)¶ Convert the block structure into DLPy layer definitions.
- Parameters
- src_layerLayer
The source layer for the whole block.
- block_numint, optional
The label of the block. (used to name the layers)
- Returns
- list
A list of keyword-arguments