---
title: MLCReshapeLayer
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/mlcreshapelayer
---

# MLCReshapeLayer

A layer that reshapes a tensor with the shape you specify.

## Declaration

```swift
class MLCReshapeLayer
```

## Topics

### Creating Reshape Layers

- [init(shape:)](mlcompute/mlcreshapelayer/init(shape:).md)

### Inspecting Reshape Layers

- [shape](mlcompute/mlcreshapelayer/shape-8k50y.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

- [MLCTransposeLayer](mlcompute/mlctransposelayer.md)
- [MLCConcatenationLayer](mlcompute/mlcconcatenationlayer.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)
