Reciprocal
torch_reciprocal(self)
self
Returns a new tensor with the reciprocal of the elements of input
input
if (torch_is_installed()) { a = torch_randn(c(4)) a torch_reciprocal(a) }
Useful links