torch.CumulativeOptionsWithDim
export interface CumulativeOptionsWithDim<
OutShape extends Shape = Shape,
> extends CumulativeOptions<OutShape> {
/** The dimension along which to compute the cumulative operation */
dim: number;
}OutShapeextends Shapedim(number)- – The dimension along which to compute the cumulative operation
Options for cumulative operations when dim is passed in options object