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

# reciprocal()

Computes the reciprocal of the tensor’s elements.

## Declaration

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

## See Also

### Accessing the extended tensor, sign and reciprocal

- [expandingShape(at:)](coreml/mltensor/expandingshape(at:).md)
- [bandPart(lowerBandCount:upperBandCount:)](coreml/mltensor/bandpart(lowerbandcount:upperbandcount:).md)
- [tiled(multiples:)](coreml/mltensor/tiled(multiples:).md)
- [sign()](coreml/mltensor/sign().md)
