code: def _kl_categorical_categorical(dist1, dist2):
      return sum_mod.sum(dist1.p * (dist1.log_p - dist2.log_p), axis=-1)
  
imports: import numpy
  import chainer
  from chainer import backend
  from chainer import distribution
  from chainer.functions.activation import log_softmax
  from chainer.functions.math import exponential
  from chainer.functions.math import sum
  from chainer.utils import argument
  from chainer.utils import cache
label_desc: Use image node_id 1 for calling a global function with example usage: _kl_categorical_categorical(dist1, dist2) and returns: sum_mod