---
title: MLShapedArrayRangeExpression
framework: coreml
role: symbol
role_heading: Protocol
path: coreml/mlshapedarrayrangeexpression
---

# MLShapedArrayRangeExpression

An interface for a range expression, which you typically use with subscripts of shaped array types.

## Declaration

```swift
protocol MLShapedArrayRangeExpression
```

## Topics

### Generating relative ranges

- [relative(toShapedArrayAxis:)](coreml/mlshapedarrayrangeexpression/relative(toshapedarrayaxis:).md)

## See Also

### Supporting types

- [Scalar](coreml/mlshapedarrayprotocol/scalar-swift.associatedtype.md)
- [MLShapedArraySlice](coreml/mlshapedarrayslice.md)
- [MLShapedArrayScalar](coreml/mlshapedarrayscalar.md)
