code: def sigmoid(
      x: torch.Tensor,
      /,
      *,
      complex_mode="jax",
      out: Optional[torch.Tensor] = None,
  ) -> torch.Tensor:
      if not ivy.is_array(x):
          x = torch.tensor(x)
      return torch.sigmoid(x, out=out)
  
file_path: ivy/ivy/functional/backends/torch/activations.py
imports: from typing import Optional, Union, Literal
  import numpy
  import torch
  import torch.nn
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
  import ivy.functional.backends.torch
label_desc: Use image node_id 4 for calling a global function with example usage: sigmoid() and returns: torch