dlpy.blocks.Bidirectional.compile¶
-
Bidirectional.
compile
(block_num=1)¶ Convert the options into DLPy layer definition.
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: - dict
A dictionary of keyword-arguments