Contents

init(alpha:transposesX:transposesY:)

Creates a batched matrix multiplication descriptor with the alpha value and transpose options you specify.

Declaration

convenience init?(alpha: Float, transposesX: Bool, transposesY: Bool)

Parameters

  • alpha:

    A scalar value you specify to scale the left-hand side, C = alpha x A x B.

  • transposesX:

    A Boolean that specifies whether you choose to transpose the last two dimensions of x.

  • transposesY:

    A Boolean that specifies whether you choose to transpose the last two dimensions of y.

See Also

Creating Matrix Multiplication Descriptors