def type_and_vis(self):
def input_box(tweet, grads, activations, over_words, over_units):
self.vis_activation([tweet], grads, activations, over_words, over_units)
return interact(input_box, tweet='This is a great tool', grads=False, activations=True,
over_words=True, over_units=False)
attention_vis.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录