ast_toolbox.utils.exp_utils.
log_mean_exp
Compute the log(mean(exp(x), dim)) in a numerically stable manner
log_sum_exp
Compute the log(sum(exp(x), dim)) in a numerically stable manner
softmax
Compute softmax values for each sets of scores in x along dim