---
title: ceil()
framework: coreml
role: symbol
role_heading: Instance Method
path: coreml/mltensor/ceil()
---

# ceil()

Computes the ceiling of the tensor’s elements.

## Declaration

```swift
func ceil() -> MLTensor
```

## See Also

### Computing the absolute, ceiling and floor

- [abs()](coreml/mltensor/abs().md)
- [floor()](coreml/mltensor/floor().md)
