code: def log_softmax(x, axis=-1, dtype=None, name=None):
      x = ivy.astype(x, dtype) if dtype else x
      ret = ivy.log_softmax(x, axis=axis)
      ret = ivy.astype(ret, dtype) if dtype else ret
      return ret
  
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.paddle.tensor.math import tanh
label_desc: Use image node_id 12 for calling a global function with example usage: log_softmax(x, axis, dtype, name) and returns: ret