我要评分
获取效率
正确性
完整性
易理解

Function Description

Operator Function

Performs matrix multiplication.

Formula

  • 2D tensor

  • High-dimensional tensor
    Table 1 Formula parameters

    Parameter

    Description

    src

    Input source tensor.

    weights

    Weight tensor.

    bias

    Bias tensor.

    dst

    Output result tensor.

    m, n, k

    Height and width dimensions m, n, and k for input matrices A(m,k) and B(k,n), and the output matrix C(m,n).