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