torch.ReductionShapeRule export type ReductionShapeRule = 'reduction'; Reduction shape rule - reduces along dimensions.