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

# round()

Rounds the tensor’s elements.

## Declaration

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

## See Also

### Computing the exponent, pow and square root

- [exp()](coreml/mltensor/exp().md)
- [exp2()](coreml/mltensor/exp2().md)
- [pow(_:)](coreml/mltensor/pow(_:).md)
- [rsqrt()](coreml/mltensor/rsqrt().md)
- [squared()](coreml/mltensor/squared().md)
- [squareRoot()](coreml/mltensor/squareroot().md)
- [log()](coreml/mltensor/log().md)
- [matmul(_:)](coreml/mltensor/matmul(_:).md)
