class_docstr: Abstract class for parametrized probability distributions.
docstr: Builds a log probability layer for this distribution.
docstr_tok: ["Builds","a","log","probability","layer","for","this","distribution","."]
code: def LogProb(self):  # pylint: disable=invalid-name
      """Builds a log probability layer for this distribution."""
      return tl.Fn(
          "LogProb", lambda inputs, point: self.log_prob(inputs, point)
      )
  
imports: import gin
  import gym
  import numpy
  from trax import layers
  from trax.fastmath import numpy
label_desc: Use image node_id 4 for calling the Distribution obj's underlying member method code with example usage: obj.LogProb() and returns: tl