Validate reduction operation parameters Returns true if valid, or a descriptive error message
type Valid = ValidateReduction<[2, 3, 4], [1], false> // truetype Invalid = ValidateReduction<[2, 3, 4], [5], false> // DimensionError Copy
type Valid = ValidateReduction<[2, 3, 4], [1], false> // truetype Invalid = ValidateReduction<[2, 3, 4], [5], false> // DimensionError
Validate reduction operation parameters Returns true if valid, or a descriptive error message