Function Description
Operator Function
Calculates the matrix inner product.
Formula
In a 2D case, the formula for calculating the matrix inner product is as follows:

High-dimensional tensors are flattened into 2D tensors for calculation.
Parameter |
Description |
|---|---|
n |
Batch number. |
ic |
Number of input channels. |
oc |
Number of output channels. |
src |
Input source tensor. |
weights |
Weight tensor. |
bias |
Bias tensor. |
dst |
Output result tensor. |
Parent topic: Inner Product