torch.special.logit
Computes the logit of each element in the input tensor.
Parameters
inputTensor- The input tensor
epsnumberoptional- The epsilon for clamping input to [eps, 1-eps] (default: None)
Returns
Tensor– A new tensor with logit(x) values element-wise