Skip to content

monk1337/Tensorflow-Attention-mechanisms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Attention Box

A tensorflow addon for many types of attention mechanisms

You can use attention toolbox by passing a tensor like :

from attention_box import soft_attention

# query is from embedding layer or lstm or cnn logit

attention_output = soft_attention(query, visualize_attention = True )

About

A Tensorflow module for many types of attention mechanisms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages