code: def _modified_xlogx(x):
      x = chainer.as_variable(x)
      xp = x.xp
      return ModifiedXLogX(
          exponential.log(
              where.where(
                  utils.force_array(x.array > 0),
                  x,
                  xp.ones_like(x.array),
              )
          )
      ).apply((x,))[0]
  
file_path: chainer/chainer/distributions/utils.py
imports: import warnings
  import chainer
  from chainer.functions.array import where
  from chainer.functions.math import exponential
  from chainer import utils
label_desc: Use image node_id 1 for calling a global function with example usage: _modified_xlogx(x) and returns: ModifiedXLogX