code: def logit(
      x: torch.Tensor,
      /,
      *,
      eps: Optional[float] = None,
      complex_mode: Literal["split", "magnitude", "jax"] = "jax",
      out: Optional[torch.Tensor] = None,
  ) -> torch.Tensor:
      return torch.logit(x, eps=eps, out=out)
  
file_path: ivy/ivy/functional/backends/torch/experimental/activations.py
imports: from typing import Optional, Union, Literal
  import torch
  import torch.nn
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
label_desc: Use image node_id 1 for calling a global function with example usage: logit() and returns: torch