def kl_div(input, target, size_average=True):
 return _functions.thnn.KLDivLoss(size_average)(input, target)

def kl_div ( input , target , size_average = True ) : return _functions . thnn . KLDivLoss ( size_average ) ( input , target )
the kullback-leibler divergence_ loss .