Preview:
model.add(LSTM(input_shape=(1,), input_dim=1, output_dim=15, return_sequences=True))

model.add(LSTM(input_shape=(1,), input_dim=1, output_dim=15, return_sequences=False))

model.add(Dense(1))

model.add(Activation('linear'))
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter