例如,如果我有以下数据:
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 ×1