tensorflow报错:Shape must be rank 2 but is rank 3 for 'MatMul' (op: 'MatMul')

tensorflow矩阵相乘,秩不一样报错 在tensorflow中写了这样一句:python [python] view plain copy print ? y_out = tf.matmul(outputs, W)   y_out = tf.matmul(outputs, W) 其中,outputs的shape为[16,336,400],W的shape为[400,1] 出现如下报错:web
相关文章
相关标签/搜索