code: def log(x: Tensor, **kwargs) -> Tensor:
      info = finfo(x.dtype)
      return torch.log(x.clip(min=info.tiny), **kwargs)
  
imports: from __future__ import annotations
  import math
  from typing import Callable, Tuple, Union
  import torch
  from botorch.exceptions import UnsupportedError
  from botorch.utils.constants import get_constants_like
  from torch import finfo, Tensor
  from torch.nn.functional import softplus
label_desc: Use image node_id 2 for calling a global function with example usage: log(x) and returns: torch