---
title: MTL4MachineLearningPipelineState
framework: metal
role: symbol
role_heading: Protocol
path: metal/mtl4machinelearningpipelinestate
---

# MTL4MachineLearningPipelineState

A pipeline state that you can use with machine-learning encoder instances.

## Declaration

```swift
protocol MTL4MachineLearningPipelineState : MTLAllocation, Sendable
```

## Overview

Overview See MTL4MachineLearningCommandEncoder for more information.

## Topics

### Instance Properties

- [device](metal/mtl4machinelearningpipelinestate/device.md)
- [intermediatesHeapSize](metal/mtl4machinelearningpipelinestate/intermediatesheapsize.md)
- [label](metal/mtl4machinelearningpipelinestate/label.md)
- [reflection](metal/mtl4machinelearningpipelinestate/reflection.md)

## Relationships

### Inherits From

- [MTLAllocation](metal/mtlallocation.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Encoding a machine learning pass

- [Running a machine learning model on the GPU timeline](metal/running-a-machine-learning-model-on-the-gpu-timeline.md)
- [MTL4MachineLearningCommandEncoder](metal/mtl4machinelearningcommandencoder.md)
