dlpy.blocks.Bidirectional.compile¶
-
Bidirectional.
compile
(block_num=1)¶ Convert the options into DLPy layer definition.
- Parameters
- src_layerLayer
The source layer for the whole block.
- block_numint, optional
The label of the block. (Used to name the layers.)
- Returns
- dict
A dictionary of keyword-arguments