code: def _log(x):
      if x.dtype in (torch.bool, torch.uint8, torch.long):
          x = x.to(dtype=torch.get_default_dtype())
      return x.log()
  
imports: import numbers
  import typing
  import torch
  import funsor.ops
label_desc: Use image node_id 26 for calling a global function with example usage: _log(x) and returns: x