小编dbu*_*ner的帖子

Tensorflow中的tf.matmul和tf.batch_matmul有什么区别?

例如,如果我有以下数据:

x = tf.placeholder("float", [None, n, n])
y = tf.placeholder("float", [None, n, n])
Run Code Online (Sandbox Code Playgroud)

两种操作有什么区别吗?

res = tf.matmul(x,y)
res = tf.batch_matmul(x,y)
Run Code Online (Sandbox Code Playgroud)

tensorflow

5
推荐指数
1
解决办法
1614
查看次数

标签 统计

tensorflow ×1