---
title: fillAll
framework: coreml
role: symbol
role_heading: Type Property
path: coreml/mltensorrangeexpression/fillall
---

# fillAll

The same as the ellipsis literal ... used to indicate unspecified dimensions of the tensor.

## Declaration

```swift
static var fillAll: any MLTensorRangeExpression { get }
```

## Discussion

Discussion For example: let x = MLTensor(randomNormal: [1, 3, 28, 28], scalarType: Float.self) let y = x[..., 0] // or x[.fillAll, 0] y.shape // is [1, 3, 28]

## See Also

### Expanding and squeezing the tensor

- [newAxis](coreml/mltensorrangeexpression/newaxis.md)
- [squeezeAxis](coreml/mltensorrangeexpression/squeezeaxis.md)
