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