def create(input_block: ModelFactory, rnn_type: str, hidden_layers: typing.List[int],<EOL>output_dim: int, dropout=<NUM_LIT:0.0>):
def instantiate(**_):<EOL><INDENT>return MultilayerRnnSequenceModel(<EOL>input_block.instantiate(), rnn_type=rnn_type, hidden_layers=hidden_layers, output_dim=output_dim, dropout=dropout<EOL>)<EOL><DEDENT>return ModelFactory.generic(instantiate)<EOL>
Vel factory function