public DenseGradients(inputs as NDArray<T>, weights as NDArray<T>, bias as NDArray<T>)
Groups gradients computed by Dense.backward; arrays are not copied.
| Parameter | Description |
|---|---|
inputs | Gradient propagated to the preceding layer. |
weights | Gradient of the weight matrix. |
bias | Gradient of the bias row. |
result = DenseGradients<Float>(dx, dw, db)