Matrix-multiplies a sparse matrix with a dense matrix.
tf.raw_ops.SparseMatrixMatMul( a, b, transpose_a=False, transpose_b=False, adjoint_a=False, adjoint_b=False, transpose_output=False, conjugate_output=False, name=None ) Returns a dense matrix. For inputs A and B, where A is CSR and B is dense; this op returns a dense C;
If transpose_output is false, returns:
C = A . B If transpose_output is true, returns:
C = transpose(A . B) = transpose(B) . transpose(A) where the transposition is performed along the two innermost (matrix) dimensions.
If conjugate_output is true, returns:
C = conjugate(A . B) = conjugate(A) . conjugate(B) If both conjugate_output and transpose_output are true, returns:
C = conjugate(transpose(A . B)) = conjugate(transpose(B)) . conjugate(transpose(A)) Returns | |
|---|---|
A Tensor. Has the same type as b. |