torch.MMShapeRule export type MMShapeRule = 'mm'; Matrix-matrix multiplication shape rule. For 2D matrix multiplication (torch.mm).