uzaymacar / attention-mechanisms

Implementations for a family of attention mechanisms, suitable for all kinds of natural language processing tasks and compatible with TensorFlow 2.0 and Keras.
MIT License
347 stars 82 forks source link

Update layers.py #4

Open nis12ram opened 9 months ago

nis12ram commented 9 months ago

updated local_p* code

nis12ram commented 9 months ago

updated local_p* code