torch.AddrOptions
export interface AddrOptions<OutShape extends Shape = Shape> {
/** Scaling factor for the input tensor. Default is 1. */
beta?: number;
/** Scaling factor for the outer 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 outer product. Default is 1.
out(Tensor<OutShape>)optional- – Pre-allocated output tensor.
Options for addr operation: out = beta * input + alpha * (vec1 ⊗ vec2)