matmul(transpose:other:transposeOther:bias:)
Adds a matrix-matrix multiplication operation to the current graph.
Declaration
func matmul(transpose: Bool = false, other: some BNNSGraph.Builder.OperationParameter<T>, transposeOther: Bool = false, bias: some BNNSGraph.Builder.OperationParameter<T>) -> BNNSGraph.Builder.Tensor<T>Parameters
- transpose:
A Boolean value that specifies whether the operation transposes
self. - other:
The other tensor to be multiplied.
- transposeOther:
A Boolean value that specifies whether the operation transposes
other. - bias:
The bias.
Discussion
This function treats self as the LHS of the matrix multiply operation.