Week 4 - Exercise 4 - Encoder Layer

Check this thread.