Pytorch Torch Rsqrt
# PyTorch torch.rsqrt Function
* * *
[ Pytorch torch Reference Manual](https://example.com/pytorch/pytorch-torch-ref.html)
`torch.rsqrt` is a function in PyTorch used to compute the element-wise reciprocal of the square root.
### Function Definition
torch.rsqrt(input, out=None)
* * *
## Usage Example
## Example
import torch
# Calculate reciprocal of square root
x = torch.tensor([1.0,4.0,9.0])
result = torch.rsqrt(x)
print(result)
* * *
[ Pytorch torch Reference Manual](https://example.com/pytorch/pytorch-torch-ref.html)
YouTip