dlpy.blocks.ResBlock_Caffe.compile

ResBlock_Caffe.compile(src_layer, block_num=None)

Compile 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