torch.TrapezoidOptions
export interface TrapezoidOptions {
/** The values of the x-coordinates (Tensor) or the constant spacing between them (number) (default: 1.0) */
x?: Tensor | number;
/** The dimension along which to compute the trapezoid rule (default: -1) */
dim?: number;
}x(Tensor | number)optional- – The values of the x-coordinates (Tensor) or the constant spacing between them (number) (default: 1.0)
dim(number)optional- – The dimension along which to compute the trapezoid rule (default: -1)
Options for trapezoid operations