def call(self, input):
if self._space_transform:
input = tf.matmul(input, self._space_transform)
# input is batch by depth
# self._against is output by depth
# result is batch by output
return tf.matmul(input, self._against, transpose_b=True)
seq2seq_helpers.py 文件源码
python
阅读 31
收藏 0
点赞 0
评论 0
评论列表
文章目录