(distribution, **unused_kwargs)
return tl.Serial(
      distribution.LogProb(),
      tl.Negate(),
      tl.WeightedSum()
  )
Builds a log loss layer for a Distribution.
Builds a log loss layer for a Distribution.
Builds a log loss layer for a Distribution .
def LogLoss(distribution, **unused_kwargs):  # pylint: disable=invalid-name
  """Builds a log loss layer for a Distribution."""
  return tl.Serial(
      distribution.LogProb(),
      tl.Negate(),
      tl.WeightedSum()
  )
def LogLoss ( distribution , * * unused_kwargs ) : # pylint: disable=invalid-name return tl . Serial ( distribution . LogProb ( ) , tl . Negate ( ) , tl . WeightedSum ( ) )