sunswal

Results 1 issues of sunswal

# 利用求得的alpha的值对H进行加权求和,用矩阵运算直接操作 r = tf.matmul(tf.transpose(H, [0, 2, 1]), tf.reshape(self.alpha, [-1, self.config["sequence_length"], 1])) 报错: InvalidArgumentError (see above for traceback): In[0].dim(0) and In[1].dim(0) must be the same: [128,512,50] vs [256,50,1] [[Node: Attention/MatMul_1...