code: def lognormal(
      mean=0.0, sigma=1.0, size=None, dtype=None, device=None, out=None
  ):
      r"""Draw samples from a log-normal distribution.
  
      Draw samples from a log-normal distribution with specified mean,
      standard deviation, and array shape.  Note that the mean and standard
      deviation are not the values for the distribution itself, but of the
      underlying normal distribution it is derived from.
  
      Parameters
      ----------
      mean : float or array_like of floats, optional
          Mean value of the underlying normal distribution. Default is 0.
      sigma : float or array_like of floats, optional
          Standard deviation of the underlying normal distribution. Must be
          non-negative. Default is 1.
      size : int or tuple of ints, optional
          Output shape.  If the given shape is, e.g., ``(m, n, k)``, then
          ``m * n * k`` samples are drawn.  If size is ``None`` (default),
          a single value is returned if ``mean`` and ``sigma`` are both scalars.
          Otherwise, ``np.broadcast(mean, sigma).size`` samples are drawn.
      dtype : {'float16', 'float32', 'float64'}, optional
          Data type of output samples. Default is 'float32'
      device : Device, optional
          Device context of output. Default is current device.
      out : ``ndarray``, optional
          Store output to an existing ``ndarray``.
  
      Returns
      -------
      out : ndarray or scalar
          Drawn samples from the parameterized log-normal distribution.
      """
      from . import _op as _mx_np_op
  
      return _mx_np_op.exp(
          normal(
              loc=mean,
              scale=sigma,
              size=size,
              dtype=dtype,
              device=device,
              out=out,
          )
      )
  
imports: import numpy
  from ...util import is_np_default_dtype
  from ...device import current_device
  from .None import _internal
  from .None import _api_internal
  from ...util import wrap_ctx_to_device_func
  from ..ndarray import get_dtype_name
label_desc: Use image node_id 4 for calling a global function with example usage: lognormal(mean, sigma, size, dtype, device, out) and returns: _mx_np_op