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