torch.DotShapeRule export type DotShapeRule = 'dot'; Dot product shape rule. For 1D vector dot product returning a scalar.