torch.Tensor.Tensor.cumulative_trapezoid
Tensor.cumulative_trapezoid(options?: TrapezoidOptions): Tensor<DynamicShape, D, Dev>Tensor.cumulative_trapezoid(xOrOptions?: Tensor | number | TrapezoidOptions, dimOrOptions?: number | TrapezoidOptions, options?: TrapezoidOptions): Tensor<DynamicShape, D, Dev>Computes the cumulative trapezoidal rule along a dimension.
Parameters
optionsTrapezoidOptionsoptional
Returns
Tensor<DynamicShape, D, Dev>– The cumulative integral approximation