Clarify tf.matmul documentation (#10381)

* Update math_ops.py

* Fix non-ascii character
This commit is contained in:
orome 2017-06-07 15:07:59 -04:00 committed by Jonathan Hseu
parent 9786b7062e
commit b7892a30f3

View File

@ -1681,8 +1681,9 @@ def matmul(a,
name=None):
"""Multiplies matrix `a` by matrix `b`, producing `a` * `b`.
The inputs must be matrices (or tensors of rank > 2, representing batches of
matrices), with matching inner dimensions, possibly after transposition.
The inputs must, following any transpositions, be tensors of rank >= 2
where the inner 2 dimensions specify valid matrix multiplication arguments,
and any further outer dimensions match.
Both matrices must be of the same type. The supported types are:
`float16`, `float32`, `float64`, `int32`, `complex64`, `complex128`.