---
title: activationType
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcactivationdescriptor/activationtype
---

# activationType

The type of activation function.

## Declaration

```swift
var activationType: MLCActivationType { get }
```

## See Also

### Inspecting Activation Descriptors

- [a](mlcompute/mlcactivationdescriptor/a.md)
- [b](mlcompute/mlcactivationdescriptor/b.md)
- [c](mlcompute/mlcactivationdescriptor/c.md)
