Additionally to @eqy’s comment it also is uncommon to avoid using non-linear activations between the trainable layers.
PS: you can post code snippets by wrapping them into three backticks ```, which makes debugging easier and allows the search engine to index the code.