def forward(self, sequence):
data = self.input_block(sequence)<EOL>for idx in range(len(self.recurrent_layers)):<EOL><INDENT>data, _ = self.recurrent_layers[idx](data)<EOL>if self.dropout_layers:<EOL><INDENT>data = self.dropout_layers[idx](data)<EOL><DEDENT><DEDENT>data = self.output_layer(data)<EOL>return self.output_activation(data)<EOL>
Forward propagate batch of sequences through the network, without accounting for the state