---
title: MLStyleTransfer.ModelParameters.ModelAlgorithmType
framework: createml
role: symbol
role_heading: Enumeration
path: createml/mlstyletransfer/modelparameters/modelalgorithmtype
---

# MLStyleTransfer.ModelParameters.ModelAlgorithmType

The style transfer training algorithm options.

## Declaration

```swift
enum ModelAlgorithmType
```

## Overview

Overview This object uses a convolutional neural network for training the style transfer model, giving more detailed style. It’s ideal for cases where latency is not the main concern, such as single images.

## Topics

### Selecting an algorithm type

- [MLStyleTransfer.ModelParameters.ModelAlgorithmType.cnn](createml/mlstyletransfer/modelparameters/modelalgorithmtype/cnn.md)
- [MLStyleTransfer.ModelParameters.ModelAlgorithmType.cnnLite](createml/mlstyletransfer/modelparameters/modelalgorithmtype/cnnlite.md)

### Describing an algorithm type

- [description](createml/mlstyletransfer/modelparameters/modelalgorithmtype/description.md)
- [debugDescription](createml/mlstyletransfer/modelparameters/modelalgorithmtype/debugdescription.md)
- [playgroundDescription](createml/mlstyletransfer/modelparameters/modelalgorithmtype/playgrounddescription.md)

### Default Implementations

- [CustomDebugStringConvertible Implementations](createml/mlstyletransfer/modelparameters/modelalgorithmtype/customdebugstringconvertible-implementations.md)
- [CustomPlaygroundDisplayConvertible Implementations](createml/mlstyletransfer/modelparameters/modelalgorithmtype/customplaygrounddisplayconvertible-implementations.md)
- [CustomStringConvertible Implementations](createml/mlstyletransfer/modelparameters/modelalgorithmtype/customstringconvertible-implementations.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomPlaygroundDisplayConvertible](swift/customplaygrounddisplayconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Describing parameters

- [MLStyleTransfer.ModelParameters.ValidationData](createml/mlstyletransfer/modelparameters/validationdata.md)
