Attention layer in C++ and Python

2017-09-18 Thread Max Kaznady
Hello,

Long time reader, first time writer - has anyone attempted to implement an 
attention layer, similar to those used in Hierarchical Attention Networks in 
NLP domain in C++? I found one attempt in Python:
https://github.com/magic282/MXNMT/blob/next/mxwrap/attention/BasicAttention.py

We have a custom implementation in Keras with Theano backend which is terribly 
slow to train, so we are looking at implementing the same architecture directly 
in C++.

Thanks,
Max



please subscribe me to MXNet Slack channel

2017-09-12 Thread Max Kaznady