---
title: splitSectionLengths
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcsplitlayer/splitsectionlengths-5abch
---

# splitSectionLengths

An array that contains the lengths of each split section.

## Declaration

```swift
var splitSectionLengths: [Int]? { get }
```

## Discussion

Discussion The layer splits the tensor into chunks along dimensions with sizes given in splitSectionLengths.

## See Also

### Inspecting Split Layers

- [dimension](mlcompute/mlcsplitlayer/dimension.md)
- [splitCount](mlcompute/mlcsplitlayer/splitcount.md)
