tf.matmul Tutorials and Examples for Beginners

tf.matmul() can compute the matrix product of two tensors in tensorflow.

tf.matmul(
    a,
    b,
    transpose_a=False,
    transpose_b=False,
    adjoint_a=False,
    adjoint_b=False,
    a_is_sparse=False,
    b_is_sparse=False,
    name=None
)

Note: This is matrix product, not element-wise product.

In this page, we write some tutorials and examples on how to use tf.matmul() function in tensorflow, you can follow our tutorials and examples to learn how to mutiply tow tensors.