allenai / deep_qa

A deep NLP library, based on Keras / tf, focused on question answering (but useful for other NLP too)
Apache License 2.0
404 stars 133 forks source link

add BatchDot layer, tests, and docs #191

Closed nelson-liu closed 7 years ago

nelson-liu commented 7 years ago

this PR adds a BatchDot layer that simply takes the output of K.batch_dot and propagates a correct mask with it. I didn't bother testing the call function because I'm presuming K.batch_dot is well tested :)

nelson-liu commented 7 years ago

merging this