Contents

matmul(transpose:other:transposeOther:)

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) -> 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.

Discussion

This function treats self as the LHS of the matrix multiply operation.