---
title: MLFeatureType
framework: coreml
role: symbol
role_heading: Enumeration
path: coreml/mlfeaturetype
---

# MLFeatureType

The possible types for feature values, input features, and output features.

## Declaration

```swift
enum MLFeatureType
```

## Topics

### Feature types

- [MLFeatureType.int64](coreml/mlfeaturetype/int64.md)
- [MLFeatureType.double](coreml/mlfeaturetype/double.md)
- [MLFeatureType.image](coreml/mlfeaturetype/image.md)
- [MLFeatureType.multiArray](coreml/mlfeaturetype/multiarray.md)
- [MLFeatureType.string](coreml/mlfeaturetype/string.md)
- [MLFeatureType.dictionary](coreml/mlfeaturetype/dictionary.md)
- [MLFeatureType.sequence](coreml/mlfeaturetype/sequence.md)
- [MLFeatureType.state](coreml/mlfeaturetype/state.md)
- [MLFeatureType.invalid](coreml/mlfeaturetype/invalid.md)

### Creating a feature type

- [init(rawValue:)](coreml/mlfeaturetype/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

### Supporting types

- [MLShapedArray](coreml/mlshapedarray.md)
- [MLShapedArrayProtocol](coreml/mlshapedarrayprotocol.md)
- [MLMultiArray](coreml/mlmultiarray.md)
- [MLSequence](coreml/mlsequence.md)
