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 132 forks source link

Make layers importable from the module #274

Closed matt-gardner closed 7 years ago

matt-gardner commented 7 years ago

Especially as we're doing one layer per file, an import like from ...layers.backend.add_mask import AddMask is a bit long and redundant. Better to just do from ...layers import AddMask.

matt-gardner commented 7 years ago

Fixed by #298.