介绍
常用别名
- tf.matmul
语法
tf.linalg.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
)
参数
- a:Tensor类型的float16,float32,float64,int32,complex64, complex128和秩> 1。
- b:Tensor与相同类型和等级a。
- transpose_a:如果True,a则在乘法之前转置。
- transpose_b:如果True,b则在乘法之前转置。
- adjoint_a:如果True,a则在相乘之前被共轭和转置。
- adjoint_b:如果True,b则在相乘之前被共轭和转置。
- a_is_sparse:如果True,a则视为稀疏矩阵。
- b_is_sparse:如果True,b则视为稀疏矩阵。