torch.AddmmOptions
export interface AddmmOptions<OutShape extends Shape = Shape> {
/** Scaling factor for the input matrix. Default is 1. */
beta?: number;
/** Scaling factor for the matrix product. Default is 1. */
alpha?: number;
/** Pre-allocated output tensor. */
out?: Tensor<OutShape>;
}OutShapeextends Shapebeta(number)optional- – Scaling factor for the input matrix. Default is 1.
alpha(number)optional- – Scaling factor for the matrix product. Default is 1.
out(Tensor<OutShape>)optional- – Pre-allocated output tensor.
Options for addmm operation: out = beta * input + alpha * (mat1 @ mat2)