---
title: ComputeStage
framework: vision
role: symbol
role_heading: Enumeration
path: vision/computestage
---

# ComputeStage

Types that represent the compute stage.

## Declaration

```swift
enum ComputeStage
```

## Overview

Overview The main compute stage represents the essential functionality of a request. Requests that provide additional analysis — or conversion of the data by the main stage — can also report a post-processing stage.

## Topics

### Getting the compute stages

- [ComputeStage.main](vision/computestage/main.md)
- [ComputeStage.postProcessing](vision/computestage/postprocessing.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring a request

- [supportedIdentifiers](vision/coremlrequest/supportedidentifiers.md)
- [modelContainer](vision/coremlrequest/modelcontainer.md)
- [CoreMLModelContainer](vision/coremlmodelcontainer.md)
- [cropAndScaleAction](vision/coremlrequest/cropandscaleaction.md)
- [ImageCropAndScaleAction](vision/imagecropandscaleaction.md)
