def create(input_block: ModelFactory, rnn_type: str, output_dim: int,<EOL>rnn_layers: typing.List[int], rnn_dropout: float=<NUM_LIT:0.0>, bidirectional: bool=False,<EOL>linear_layers: typing.List[int]=None, linear_dropout: float=<NUM_LIT:0.0>):
if linear_layers is None:<EOL><INDENT>linear_layers = []<EOL><DEDENT>def instantiate(**_):<EOL><INDENT>return MultilayerRnnSequenceClassification(<EOL>input_block=input_block.instantiate(), rnn_type=rnn_type, output_dim=output_dim,<EOL>rnn_layers=rnn_layers, rnn_dropout=rnn_dropout, bidirectional=bidirectional,<EOL>linear_layers=linear_layers, linear_dropout=linear_dropout<EOL>)<EOL><DEDENT>return ModelFactory.generic(instantiate)<EOL>
Vel factory function