---
title: MLCTransposeLayer
framework: ML Compute
role: symbol
role_heading: Class
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlctransposelayer
---

# MLCTransposeLayer

A layer that permutes the dimensions you specify.

## Declaration

```swift
class MLCTransposeLayer
```

## Topics

### Creating Transpose Layers

- [init(dimensions:)](mlcompute/mlctransposelayer/init(dimensions:).md)

### Inspecting Transpose Layers

- [dimensions](mlcompute/mlctransposelayer/dimensions-71ed6.md)

## Relationships

### Inherits From

- [MLCLayer](mlcompute/mlclayer.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Transformation Layers

- [MLCConcatenationLayer](mlcompute/mlcconcatenationlayer.md)
- [MLCReshapeLayer](mlcompute/mlcreshapelayer.md)
- [MLCSliceLayer](mlcompute/mlcslicelayer.md)
- [MLCSplitLayer](mlcompute/mlcsplitlayer.md)
- [MLCPaddingLayer](mlcompute/mlcpaddinglayer.md)
- [MLCScatterLayer](mlcompute/mlcscatterlayer.md)
- [MLCSelectionLayer](mlcompute/mlcselectionlayer.md)
- [MLCGatherLayer](mlcompute/mlcgatherlayer.md)
