code: def logit_(x:Tensor)->Tensor:
      "Inplace logit of `x`, clamped to avoid inf"
      x.clamp_(1e-7, 1-1e-7)
      return (x.reciprocal_().sub_(1)).log_().neg_(f logit_(x:Tensor)->Tensor:
      "Inplace logit of `x`, clamped to avoid inf"
      x.clamp_(1e-7, 1-1e-7)
      return (x.reciprocal_().sub_(1)).log_().neg_()
docs: Inplace logit of `x`, clamped to avoid inf