---
title: MLCSplitLayer
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/mlcsplitlayer
---

# MLCSplitLayer

A layer that splits a tensor value into a list of subtensors.

## Declaration

```swift
class MLCSplitLayer
```

## Topics

### Creating Split Layers

- [init(splitCount:dimension:)](mlcompute/mlcsplitlayer/init(splitcount:dimension:).md)
- [init(splitSectionLengths:dimension:)](mlcompute/mlcsplitlayer/init(splitsectionlengths:dimension:).md)

### Inspecting Split Layers

- [dimension](mlcompute/mlcsplitlayer/dimension.md)
- [splitCount](mlcompute/mlcsplitlayer/splitcount.md)
- [splitSectionLengths](mlcompute/mlcsplitlayer/splitsectionlengths-5abch.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)
- [MLCReshapeLayer](mlcompute/mlcreshapelayer.md)
- [MLCSliceLayer](mlcompute/mlcslicelayer.md)
- [MLCPaddingLayer](mlcompute/mlcpaddinglayer.md)
- [MLCScatterLayer](mlcompute/mlcscatterlayer.md)
- [MLCSelectionLayer](mlcompute/mlcselectionlayer.md)
- [MLCGatherLayer](mlcompute/mlcgatherlayer.md)
