---
title: MLImageSizeConstraintType
framework: coreml
role: symbol
role_heading: Enumeration
path: coreml/mlimagesizeconstrainttype
---

# MLImageSizeConstraintType

The modes that determine how the model defines a feature’s image size constraint.

## Declaration

```swift
enum MLImageSizeConstraintType
```

## Topics

### Constraint types

- [MLImageSizeConstraintType.range](coreml/mlimagesizeconstrainttype/range.md)
- [MLImageSizeConstraintType.enumerated](coreml/mlimagesizeconstrainttype/enumerated.md)
- [MLImageSizeConstraintType.unspecified](coreml/mlimagesizeconstrainttype/unspecified.md)

### Creating a constraint type

- [init(rawValue:)](coreml/mlimagesizeconstrainttype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Determining relevant constraints

- [type](coreml/mlimagesizeconstraint/type.md)
